Message 1 of 7

Not applicable
09-07-2020
07:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I need to drive a Rotational Joint 3 sub-assemblies down.
I am able to drive this joint independently within that sub-assembly with this code:
Dim oDoc As AssemblyDocument = ThisApplication.ActiveDocument Dim oCompDef As AssemblyComponentDefinition = oDoc.ComponentDefinition Dim oJoint As AssemblyJoint = oCompDef.Joints.Item("Rotational:2") oJoint.DriveSettings.StartValue = 0 oJoint.DriveSettings.GoToStart oJoint.DriveSettings.PlayForward oJoint.DriveSettings.PlayReverse
However, I need to drive it from the Top Level Assembly.
I'm not sure how to target that Joint from here.
Looking forward to some solutions.
Thanks
Solved! Go to Solution.