Cable/Harness wire not updating during animation?

Cable/Harness wire not updating during animation?

Anonymous
Not applicable
869 Views
2 Replies
Message 1 of 3

Cable/Harness wire not updating during animation?

Anonymous
Not applicable

Is it possible to have a cable/harness wire constantly update it's path during each frame of an animation? Basically I have a cable spanning from a stationary part to an animated rotating door but during animation/render the cable just remains as it was in the first frame of the animation. Any ideas to make this work or is it simply not possible within the current software? Any help or advice would be much appreciated!! Thanks

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

mcgyvr
Consultant
Consultant
Accepted solution

I don't believe its possible at this time..

You need to trigger a document update for harnesses to update and it seems that animation doesn't do that..

 

You can do it with ilogic in the regular part environment but I don't see how to accomplish the same in the studio environment.. 

 

Here is an example of creating animations through ilogic.. 

MyValue = 3

While MyValue < 10
	d0 = MyValue
	System.Threading.Thread.CurrentThread.Sleep(10)
		Parameter.UpdateAfterChange = True
RuleParametersOutput()
InventorVb.DocumentUpdate()

	MyValue = MyValue + 1
	
End While
	System.Threading.Thread.CurrentThread.Sleep(1000)
While MyValue > 2
		d0 = MyValue
	System.Threading.Thread.CurrentThread.Sleep(10)
		Parameter.UpdateAfterChange = True
RuleParametersOutput()
InventorVb.DocumentUpdate()
	MyValue = MyValue - 1
End While

 

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 3 of 3

Anonymous
Not applicable

I thought this might be the case, unfortunate! This is something they should add into next year's edition as it would make animations with cables so much better. Thanks for your help!

0 Likes