- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm creating a new post from a question I asked from another thread this is a copy paste from that question.
This is the original thread link: Originating Thread for this question (Starting at Reply 7)
That's all fine and dandy but I want to specify a specific component in my assembly and then have it iterate through all the associated relationships and suppress them. I can not find any documentation on how to set a specific component to do a
'For each joint attached to THIS SPECIFIC PART go through and suppress the joint if it is not already suppressed.'
Also want to do the same thing with the constraints.
i have found code but nothing that says 'use this part' and suppress.
Hi @erikk6WMUN
You want to pick the occurrence and all constraints/joints associated should be suppressed?
Dim oOcc As ComponentOccurrence = ThisApplication.CommandManager.Pick(SelectionFilterEnum.kAssemblyOccurrenceFilter, "Pick component") For Each oConstraint As AssemblyConstraint In oOcc.Constraints oConstraint.Suppressed = True Next For Each oJoint As AssemblyJoint In oOcc.Joints oJoint.Suppressed = True Next
If this answer is not what you're looking for, start a new thread and we'll try to solve your problem there
This thread is already solved and your topic isn't really the same
If this answer solved your problem please ACCEPT AS SOLUTION or like if you found it helpful
I'd really appreciate if you voted for this idea aswell: Feature properties, suppress if no effect - Autodesk Community
/Jhoel Forshav
Solved! Go to Solution.