Make plane update iLogic

Make plane update iLogic

will_roe
Enthusiast Enthusiast
412 Views
2 Replies
Message 1 of 3

Make plane update iLogic

will_roe
Enthusiast
Enthusiast

Hi,

 

I'll try explain this as best I can as I can't share the files, feel free to ask for clarification. See below pictures

 

I currently have a Assembly that drives a skeleton sketch in a Part. As part of this it generates a dimension that is used to drive the sketch of a bend line for a bend feature. I had problems with if flip from -/+ so i changed it to a plane and projected the geometry. This works 70% of the time but sometimes it doesn't update. To manually fix it I just edit the dimension on the plane (without changing the value) and press ok. 

 

Is there a way I do this with iLogic or force it to update? - I've already tried:

InventorVb.DocumentUpdate()
iLogicVb.UpdateWhenDone = True
ThisDoc.Document.Rebuild()

 

will_roe_0-1629268471592.png

will_roe_1-1629268509318.png

 

Many Thanks,

 

Will

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

Curtis_Waguespack
Consultant
Consultant
Accepted solution

Hi @will_roe 

 

You can try to use RulesParametersOutput before the update... but it sounds like you might have something that is more related to geometry dependencies going on, so the solution might come from something else... but I think using a plane to set the angle is indeed the correct thing to do.

 

RuleParametersOutput()
InventorVb.DocumentUpdate()

 

Can you create a simple throw away model that shows the basics of the geometry involved? Even if you can't share that, sometimes the exercise of creating the simple model and getting it to work shows us how the issue.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

EESignature

0 Likes
Message 3 of 3

will_roe
Enthusiast
Enthusiast

Thanks @Curtis_Waguespack !

 

RuleParametersOutput()

Seems to give it the kick it needs.

 

Cheers,

 

Will

0 Likes