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

GetChangeTypeParameter(Parameter param) - how to specify param

2 REPLIES 2
Reply
Message 1 of 3
wim
Contributor
835 Views, 2 Replies

GetChangeTypeParameter(Parameter param) - how to specify param

I wonder how I can invoke the command GetChangeTypeParameter(). I have no idea how to specify the parameter. Does anyone have an example of the usage? thnx
2 REPLIES 2
Message 2 of 3
FRFR1426
in reply to: wim

From TBC:

 

ElementId paramId = new ElementId(BuiltInParameter.ROOM_NUMBER); 
UpdaterRegistry.AddTrigger(GetUpdaterId(), elementFilter, Element.GetChangeTypeParameter( paramId));

It seems to work only with built-in parameter.

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
Message 3 of 3
FRFR1426
in reply to: FRFR1426

In fact, you can watch any kind of parameter as shown in this post: http://adndevblog.typepad.com/aec/2013/01/dynamic-model-updater-with-project-parameters.html but you need to have at least one element bound with the parameter in order to retrieve it. 

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr

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

Post to forums  

Rail Community


Autodesk Design & Make Report