cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
TKnudsen
Participant

Expression property consisting of: Layer name + "/" + Parent ID name. How to do it?

I am trying to make a property with and expression, so that elements automatically looks like this:
"Layer name" + "Parent ID" divided by a "/" symbol.

 

For example:

 

"YVH-01/A" - Where 'YVH-01' is the name of the layer and 'A' is the Parent ID.

 

Can anyone help with an expression for this?

 

Thanks 🙂

1 Solution

Accepted Solutions

Here you go:

CONCAT ( {Property:General Parameters/Layer}, "/", {Property:General Parameters/Parent ID} )

You can just copy this into the expression editor and it will recognize the parameters.

Hope that helps 🙂
Bernd

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com

Go to post

2 Replies 2

Here you go:

CONCAT ( {Property:General Parameters/Layer}, "/", {Property:General Parameters/Parent ID} )

You can just copy this into the expression editor and it will recognize the parameters.

Hope that helps 🙂
Bernd

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com
TKnudsen
Participant

Thanks a bunch Bernd! 😊

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!