AttachGHSData

Every time I create a brand new GHS file and add GHS data via AttachGHSData, then save it, exit, and reopen, I see an old tugboat’s GHS data, not the new model’s GHS data I just made. It’s always the same ancient GHS data that appears. This is wasting a ton of my time deleting and recreating it every time. What the heck is going on here?

Version 7 SR38
(7.38.24338.17001, 2024-12-03)

I’ve further isolated the problem. I probably started from a tug hull form Rhino model that likely had some AttachedGHSData already in it. From there I do this in order:

  1. Go into AttachGHSData and deleted everything present. Click Apply then OK (the Apply button isn’t needed as the same thing happens with or without it).
  2. Save the model.
  3. Go into AttachGHSData and verified that everything is gone. It is.
  4. Exit Rhino
  5. Reopen the Rhino model
  6. Go into AttachGHSData - All the old data is once again present!

I just spent two hours adding GHS data to the model, saved it as a gf, then saved it again as a 3dm just to be sure. Exited Rhino and reopened the model. All of my new GHS data is GONE. The old boat is back.

Hi rhorsefield -
It doesn’t look like you tried or replied to the answer you got last time?

-wim

I just tried those exact steps. No change. The old model is still present. And even if it had worked, it does not explain how it did not sav all the new GHS data I put it.

If it would help, we can Teams chat and I can walk you through it. Unfortunately, I cannot send you any files as it would violate our information policy.

I think I see at least part of the issue. My model has a linked block that contains the old tug GHS data in it as well. I went into that linked file and deleted the GHS data, then saved without plugin data. Then reopened my main model and the ghost was gone. So apparently, GHS data in a LINKED block replaces any and all GHS data in the main model. OUCH!!!

Yeah, that is probably the problem too. Clearing the data in the linked model will help.

Glad you found it.

Is there a fix that would prevent a linked block’s GHS data from overwriting the GHS data in the main file? This edge case has tripped me up numerous times and cost me many hours of lost work.

I am not sure. Would it be best to be able to delete all AttachGHS data in a file? Of course the linked model cannot be edited directly since it is linked.

Perhaps a dialog should pop up when inserting a block that contains plugin data, listing any plugin data that will overwrite existing information. At least that way there’s an obvious solution available to the user. I have not tested to see if it is only linked blocks that cause this (my current case), or if inserted blocks are also an issue.

Hi -

This issue is on the list as RH-86323 Where does AttchGHS data live in the model
-wim