Translate Assembly Component using iLogic/Offset from Parent Assembly Origin

Translate Assembly Component using iLogic/Offset from Parent Assembly Origin

Anonymous
Not applicable
1,552 Views
2 Replies
Message 1 of 3

Translate Assembly Component using iLogic/Offset from Parent Assembly Origin

Anonymous
Not applicable

I want to be able to control the location/position of a component in an assembly. This is easy enough through the iProperties/Occurrence tab and then adjust the location of the X,Y, and Z offsets. Is this possible using iLogic? I have been unable to find a function to access via iLogic. Ultimately I am trying to translate a component about an axis not a pattern.

0 Likes
Accepted solutions (1)
1,553 Views
2 Replies
Replies (2)
Message 2 of 3

MjDeck
Autodesk
Autodesk
Accepted solution

Yes, you can do this by using the API in an iLogic rule.  Here's a rule (attached) based on the sample in the API documentation under the ComponentOccurrence.Transformation property.  It sounds like you don't have any constraints on the component.  This sample shows two different ways, depending on whether you want to ignore existing constraints.


Mike Deck
Software Developer
Autodesk, Inc.

Message 3 of 3

Anonymous
Not applicable

I tried your ilogic rule. it's very well.

Thanks you very much. Heart

0 Likes