Message 1 of 4
Cannot change multiple joint origin properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having a weird problem where I have created a joint origin and immediately after I am trying to set isFlipped to True and give it an x-axis entity. The problem is that it will only change the first parameter in the code.
For example:
This code will only make the joint origin flipped and will not give it an xAxisEntity.
pringle_factory_origin.timelineObject.rollTo(True)
pringle_factory_origin.xAxisEntity = axis_selection
pringle_factory_origin.isFlipped = True
design.timeline.moveToEnd()
This code will only give the joint origin an xAxisEntity but will not be flipped.
pringle_factory_origin.timelineObject.rollTo(True)
pringle_factory_origin.isFlipped = True
pringle_factory_origin.xAxisEntity = axis_selection
design.timeline.moveToEnd()
I also tried using the rollTo() method before each parameter change and still it only changes the first parameter in the program. It seems to be resetting the first parameter that I try to change when the second parameter gets set.
Anyone have any ideas? Am I missing something obvious here?