Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Property Set Lookup

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
Valentin_Belets
348 Views, 6 Replies

Property Set Lookup

Hi all,

Could find a solution to seemingly simple task I am trying to achieve.

Essentially, is it possible to use a formula in property sets to lookup a value from an array of values? Something similar to Excel lookup?

I've got a list of values I'm providing using a list definition, and I would like to implement a lookup of another value from a config table. 

And just generally, is there a reference guide somewhere for the formulas we can use for Property Definitions? I've only found those which are dealing with extracting civil 3d database object properties, but I'm interested in some more trivial ones.

2022-05-06_17-27-08.jpg

Any help or pointers to sume supporting resources would be much appreciated.

Regards,
Val.

Labels (2)
6 REPLIES 6
Message 2 of 7

Hi @Valentin_Belets 

You can do something similar to a lookup by creating a List definition first (to compose a list of items) and 

then reference that list as the source for the property set attribute.

Hope this helps,

 2022-05-06_14h10_38.png2022-05-06_14h13_23.png

 




Samir Rezk
Technical Support Specialist

Message 3 of 7

Hi Samir, 

 

this is exactly what I did for the values in the red box in my screenshot. 

I just wanted for the respective values in the green box to be looked up in another property definition.

Message 4 of 7

Hi @Valentin_Belets 

I understand better now what you'd like to do! Lookups are not a native function in Property Sets, but I did find this thread with a similar situation, not sure if you came across it already!

Solved: Property set formula property: Lookup value from file - Autodesk Community - AutoCAD Archite...

Also, Dynamic Block lookup table might be a good option, if you're working with Blocks! as opposed to Property Sets.

Hope this helps,

 




Samir Rezk
Technical Support Specialist

Message 5 of 7

@samir.rezk 

 

I created a lookup/list that has multiple values in each list to define various items, as shown below.

PSD_List.jpg

 

However, when I go to my point label style to apply the items that are part of the list within the label style they don't appear in the selection list, is there something I'm missing or does this function not exist.

label_style.png

Thanks, Rick


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 6 of 7

Hi @rl_jackson 

List definitions do not show up in the drop down menu in the label style composer automatically, however we are able to write the label code directly. type the following:

<[PSD Name:PS Name(CP)]>

Based on your screenshot, an example will look like:

<[Structures:A_Direction(CP)]>

CP means case preserved, this can be changed to CU or CL


same code applies for creating table styles!

 

Hope this helps,




Samir Rezk
Technical Support Specialist

Message 7 of 7
rl_jackson
in reply to: samir.rezk

Thanks @samir.rezk that was very helpful, I honestly didn't even think about hard typing it. I also would not have thought the list would be any different than the normal property set and its exposure to the label style.


Rick Jackson
Survey CAD Technician VI

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report