Diesel expression to retrieve dynamic block parameter's value

Diesel expression to retrieve dynamic block parameter's value

Anonymous
Not applicable
1,479 Views
3 Replies
Message 1 of 4

Diesel expression to retrieve dynamic block parameter's value

Anonymous
Not applicable

Hi,

 

Is it possible to write a diesel expression to get the value of a dynamic block parameter?

 

Something like $(%<\AcObjProp.16.2 Object(?BlockRefId).Parameter(121).UpdatedDistance>%) does not work. It outputs: " $(Height)?? " (Height is the name of the parameter)

 

I need diesel because I plan to write an if statement which requires the value of that parameter...

 

Thanks

Rui

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

dirvine_behlen_ca
Enthusiast
Enthusiast

I'll add my own reiteration of the question, cause it looks like you didn't get any bites.

 

I don't suppose you ever figured this out on your own, did you? I would love to know how to do this. I want to access a few user parameters, including some calculated parameters and feed them into an MTEXT entity. I can see how to get attribute values and anything I can select into the MTEXT entity, but I don't see a way to select user parameters.

0 Likes
Message 3 of 4

Sujan.Maharjan
Collaborator
Collaborator

Hi, 

I don't know much about coding, but have you checked this website http://www.lee-mac.com/dynamicblockfunctions.html


"Revit Lies in the tension between what we want to do and what can be done!"
0 Likes
Message 4 of 4

Emmsleys
Alumni
Alumni

Following up on your thread, were you able to find a solution or a workaround?

 

Did any of the posts in the thread help with the issue?

 

Please use the Accept as Solution for those post’s that helped. It may benefit other users who might have a similar question or issue.

 

Thanks for your time.        



Sarah Emmsley
Technical Support Specialist

0 Likes