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: 

How can I use getchangetype to get change of View3d Orientation?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
320 Views, 1 Reply

How can I use getchangetype to get change of View3d Orientation?

 

 

i want to moving Left eye view and Right eye view affect by source view's Orientation modify

 

so i use dynamic model update(DMU) for stereo view 

 

However I have a problem to catching Orientation modified

 

I want to use follow line

 

UpdaterRegistry.AddTrigger(m_updaterId, doc, idsToWatch,?????);

 

idsToWatch is a Element List contain Source view

 

What should i use for ????? 

 

How can get view orientation modified?

 

help me 

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: Anonymous

The last argument to the AddTrigger method is the change type.

 

The safest change type to specify is the one returned by the Element.GetChangeTypeAny method.

 

Here are some discussions mentioning the AddTrigger method on The Building Coder:

 

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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