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

Link Events to trigger process

1 REPLY 1
Reply
Message 1 of 2
Dale.Bartlett
343 Views, 1 Reply

Link Events to trigger process

All,

I want to capture a significant Link Event, ie Attach, Detach, to trigger some process. Is this possible and if so does anyone have a snippet of code? Thanks, Dale




______________
Yes, I'm Satoshi.
1 REPLY 1
Message 2 of 2

Hi Dale,

 

I could not find an event specific to the Link element type but we have events that will monitor element creation and modification. Here is a blog post that explains these events:

 

http://thebuildingcoder.typepad.com/blog/2010/04/element-level-events.html

 

The type representing a link element is the RevitLinkType. So you could monitor for this element in the events mentioned in the blog post.

 

Hope this helps.

 

Best Regards

Gopinath

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community