Referencing Parent and child views to one

Referencing Parent and child views to one

Brian.Price
Advocate Advocate
285 Views
2 Replies
Message 1 of 3

Referencing Parent and child views to one

Brian.Price
Advocate
Advocate

I am trying to find a way to add reference information to parent views, section views and details views that are on separate pages than their parent/child. 

 

I would like to add a function, rule, symbol, datum, or w/e will work that will be placed on the parent view that says what page the child view is located. I also want add the same to the child that shows where the parent is located.

 

Is there a way to do this?

0 Likes
286 Views
2 Replies
Replies (2)
Message 2 of 3

JamieVJohnson2
Collaborator
Collaborator

DrawingView.ParentView will track that automatically.  Otherwise, you may want to store custom data in the AttributeSets of a few types, that you can then read and use.  Any annotation that consumes this data will be static (textbox, bubble, symbol), so your program will need to be able to update the values if somebody moves a view.  If your careful, you could place a command in the proper iLogic Event to autorun your code often.

Jamie Johnson : Owner / Sisu Lissom, LLC https://sisulissom.com/
Message 3 of 3

chandra.shekar.g
Autodesk Support
Autodesk Support

@Brian.Price

 

For more details on attribute sets through Inventor API, refer below blog link.

 

https://modthemachine.typepad.com/my_weblog/2009/07/introduction-to-attributes.html

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes