- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a script that allows a user to make multiple copies of a drawing and all of its dependents. I've managed to get it to work as best I could with frame generator, but I've noticed that the alignment of the frame members is missing in the copies.
Original frame member alignment:
Copied frame member alignment broken:
My question is:
Is there a way to preserve or redefine the alignment of these members with iLogic? If that's not possible, is there a reliable method of defining the orientation of frame members using constraints instead of the alignment tool? If that's not possible, is there a better system than frame generator for controlling member length/position, while also allowing ability to hot swap the member for a different size?
I am aware that the Frame Generator API isn't exposed for iLogic. I'm really hoping there's some kind of workaround for this. I'd hoped I could somehow use the Face-GetReferenceKey Method to get whatever face the model was using for alignment and redefine it after copy. There just doesn't seem to be any way to access that information or apply alignment with iLogic. Any help would be greatly appreciated. I've attached my code in case you wanted to examine it.
Solved! Go to Solution.