Set Custom Plan View parameter to the Phase Sequence Number associated with the Phase of the view

I am attempting to build a tool for correcting all Plan View names based on a company standard. That standard would include the phase sequence number to keep names unique.

I have everything good to go but pulling the Sequence Number from the Phase Parameters and matching it to the phase for each view in a list is becoming difficult. Basically, a database link one to many but I can’t find the Rosetta Stone.

I am new so can’t upload yet. Sorry. Maybe tomorrow.

I am a new user and cannot upload so I guess this is a waste of time.

I can’t get a list function to merge the data into a list.

Welcome to the forum @dbaj444.

I have bumped your trust level so you shouldn’t be a new user anymore - not sure if it is high enough to post but reply here if not and I’ll have a look. We usually require a few weeks of activity first to prevent spam which is fairly frequent unfortunately.

You can also look into a third party service such as Dropbox, Box, Onedrive, Google Drive, WeTransfer, Autodesk Construction Cloud, etc… Just be sure that there isn’t a login or password or anything preventing others from accessing the files.

Maybe us dictionaries?

1 Like

Thank you! I will dig into it and see if this will work.
I am having to learn a whole new vocabulary to go with the programing language.

But what a cool and fun programming tool!

Dictionaries worked perfect! Thank you.

Now the issue is a weird mixed value error with the phases.
Some phases list an ID and some list the text for that parameter value.
The text is throwing a null error into the mix.
The two nulls (22 and 23 in the list) are two of the views that are in a different phase.

Don’t know why Phases do this, but you can get around it it by using this node from Orchid.

image

Orchid you get from GitHub.com.

Or this using Clockwork.

image