Set Instance parameters in View Title

Set Instance parameters in View Title

will.wydock
Advocate Advocate
1,590 Views
3 Replies
Message 1 of 4

Set Instance parameters in View Title

will.wydock
Advocate
Advocate

I am not sure if this is possible but can you access instance parameters for each instance of the view title annotation family found under floor plans? One of my ideas would be to select the view title and be able to toggle on a graphic scale from a yes/no parameter..

0 Likes
1,591 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Dear Wwydock,

 

Thank you for your query.

 

Basically, you can access all parameters on all types and instances, so the answer to your question is a simple and unequivocal YES.

 

You can use RevitLookup to examine all Revit database elements and their properties and relationships:

 

https://github.com/jeremytammik/RevitLookup

 

I very much hope that you are aware of that tool and have already installed and are using it.

 

If not, do so now.

 

The only possible snag is that some parameter values may be controlled by the BIM and hence are read-only.

 

If so, you need to explore what BIM characteristics are driving them and manipulate those driving factors instead of the parameter value itself directly.

 

I hope this helps.

 

Best regards,

 

Jeremy



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

0 Likes
Message 3 of 4

will.wydock
Advocate
Advocate

I am aware of the Revit Lookup, and I did try to investigate using this tool. If I am understanding this correctly, it appears the viewtitle has the same element id for all view titles annotation of the same viewport type. I also could not see the parameters within the view title annotation.

0 Likes
Message 4 of 4

jordanhakes
Explorer
Explorer

I believe Jeremy is mistaken, it's not an unequivocal "yes"

 

To your original question, no you cannot select instance parameters for a "View Title" family since they are referenced as an type to a Viewport type.

 

You can select a view title family in the browser, and edit its typical parameters, but instance ones are not editable since no actual instance exists in the project. View Title families are a weird beast and have a lot of quirks that we learn to work around.

 

For us, the view title family has 2 family types, and a scale bar visibility equal to a yes/no parameter. 1st family type is "Show scale bar" set to yes, and the 2nd family type "No scale bar" the parameter set to no. If you make these parameters instance base, they are for all intents and purposes uneditable in the project. If they are type based, you could from the browser select the family and "Type Properties..." and mess with the visibility.