Applying Parameters to Model groups

Applying Parameters to Model groups

Anonymous
Not applicable
524 Views
2 Replies
Message 1 of 3

Applying Parameters to Model groups

Anonymous
Not applicable

I am interested in applying some information (ideally by parameters) to model groups objects.

 

I found a Building Coder blog post on this from 2009, called "Model Group Shared Parameter" which seems to describe a method.

Since this is pretty old, and seems to involve a few 'workarounds' (e.g getting the modelgroup category), I am wondering:

 

Is there anything new on this, or should I be ok following this methodology?

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

Mustafa.Salaheldin
Collaborator
Collaborator

Do you want to assign parameters values of the group or assign them to the elements which consist the group?


¯\_(ツ)_/¯
Let it work like a charm.

Mustafa Salaheldin


EESignature




Digital Integration Manager, DuPod

Facebook | Twitter | LinkedIn

0 Likes
Message 3 of 3

JimJia
Alumni
Alumni

Dear Abba Lustgarten,


Please accept our sincerer apology for the delay! We had a backlog in the queue.


Yes, the page is very old and some API was removed in new Revit API, but you can refer to page below on the code upgrade against latest Revit API: http://thebuildingcoder.typepad.com/blog/2016/05/the-building-coder-samples-2017.html


For your convenience, the updated code is available from code depot below, you can refer to CmdCreateSharedParams.cs under it:https://github.com/jeremytammik/the_building_coder_samples


Jim Jia
Autodesk Forge Evangelist
https://forge.autodesk.com
Developer Technical Services
Autodesk Developer Network
Email: Jim.Jia@autodesk.com
0 Likes