- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm back again! Hopefully this will taper off sooner than later.
I have written a routine that does a save as on an assembly that is a mixture of FG members and parts. The FG assembly sits on it's own and there is a master assembly where everything is placed and constrained. The goal is to be able to go into the newly copied assembly's master sketch, change width and\or height, and updated the needed documents until the master assembly and all of it's components reflect the change. I have everything working but the frame members. This morning I ran into an error of "can only be saved in the context of" which was in relation to the skeleton and assembly created by FG (the files you input names for on the initial run of placing members).
My FG assembly contains, essentially, two subassemblies. One is a door jam and the other a door frame. I need the generated files that are giving me problems in order to update the members contained in both. To get the code to run I had to demote both subassemblies, but that left the needed files out. Only demoting one, so the file structure was still in place resulted in the error. As did placing the assembly into the master assembly and suppressing it.
I'm a bit at a loss. Is there an exception I could write in order to get these files to save? I'm happy to post the code if it would help.
Any help is greatly appreciated.
Solved! Go to Solution.