
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all!
I have attached a screencast to show what my issue is.
What I have, is a hydraulic cylinder assembly set up to extend & retract using the code:
Dim i As Double 'starting value
Dim iLimit As Double = 96 'top range of parameter
Dim iStep As Double = 0.3 'increment to increase by
For i = 53.75 To iLimit Step iStep
Parameter("3300393:1", "Stroke") = i
RuleParametersOutput() 'required to update the parameter
InventorVb.DocumentUpdate()
ThisApplication.ActiveView.Update()
Next
I then use this cylinder in an assembly as shown in the screencast. I use iLogicVb.RunRule("") to run the rule in the cylinder from the trailer assembly. As you can see, the cylinder will fully extend before the body will be affected.
Is there a way to tell the body to follow the cylinder throughout the entirety of the stroke?
Thanks!
Solved! Go to Solution.