Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use api event triggers, not standard ilogic triggers

0 REPLIES 0
Reply
Message 1 of 1
theo.bot
360 Views, 0 Replies

Use api event triggers, not standard ilogic triggers

Hi there,

a customer has a title block with a revision table ( standard vault revision table) add on top of it.
If you change the sheet size the revision table remains his position.

If found the way to reposition the table with a ilogic rule.:


'point afstand in cm
PointX=(ActiveSheet.Width/10)-13
PointY=5.5
'punt vanaf rechtonder gemeten in cm

DimoPointAsPoint2d
oPoint=ThisApplication.TransientGeometry.Createpoint2d(PointX,PointY)
'her positioneel revisiontable
ActiveSheet.Sheet.RevisionTables.Item(1).Position=oPoint

InventorVb.DocumentUpdate()
This is working perfectly.

But now the challange how to trigger this rule to run if you change the sheet size?

if tried:

trigger=Activesheet.size

or

to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule.

but both way didn't work.

Can event triggers from the API be used? Do i need the "Onchange" event?
Can anyone give an example for a ilogic rule?

Kind regards,
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report