Dynamo - get revit parameter

Dynamo - get revit parameter

spm8C88E
Advocate Advocate
1,633 Views
6 Replies
Message 1 of 7

Dynamo - get revit parameter

spm8C88E
Advocate
Advocate

I'm still learning Dynamo, but I think it should be possible to do what I'm trying to do. I'd like to take the information in a built in revit paramter, like Workset in this case, and populate a second parameter with this information. For some reason it looks like I can get other built in parameters, like "Name" or "Comments", but when I try to access "Workset" Dynamo returns zeros instead of the Workset name. Is there another way to access this parameter?

0 Likes
1,634 Views
6 Replies
Replies (6)
Message 2 of 7

M_Meshal
Enthusiast
Enthusiast

Hi, 

You can use "Element Workset" node from "GeniusLoci" package, it will help you to get the name and the workset it self.

M_Meshal_0-1717581874644.png

 

Message 3 of 7

spm8C88E
Advocate
Advocate

Thanks for the suggestion! Is there a trick to this node? for me it still only returns null values

0 Likes
Message 4 of 7

s.iwasakiSYTFM
Advocate
Advocate

It appears to be working in my Revit and Dynamo.
It may be a version issue.
You might want to check with repository, etc. or ask on the Dynamo forum.

Here is the version I am using
・Revit2023.1
・DYNAMO v.2.16.2
・Genius Loci 2023.7.13
siwasakiSYTFM_0-1718096578164.png

 

You found a post helpful? Then feel free to give likes to these posts!
Please click the Accept Solution button if my reply answers your question.
こちらの投稿は役に立ちましたか?良ければ「いいね」お願い致します!
こちらの投稿があなたの問題解決に寄与した場合、「解決策として承認」ボタンのクリックへのご協力をお願い致します。

Satoshi Iwasaki
ONESTRUCTION Inc.
Message 5 of 7

spm8C88E
Advocate
Advocate

@s.iwasakiSYTFM  thanks for your reply. 

 

I'm running

Revit 2024.2

Dynamo Revit 2.19.4

Genius Loci 2024.5.29

IronPython2.7 3.2.0

 

I was getting some warnings for these packages so I uninstalled and reinstalled them but it doesn't appear to have helped. Posted on the Dynamo forum. thanks!

0 Likes
Message 6 of 7

azad.Nanva
Advisor
Advisor

you can try this:

 

azadNanva_1-1718111523701.png

 

this is with your way:

 

azadNanva_0-1718112830098.png

 

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 7 of 7

M_Meshal
Enthusiast
Enthusiast

Are you sure your model contains worksets? (worksharing enabled)

0 Likes