Hello,
Does anybody have experience with the expression editor for symbol instantiation in the SG CAD?
I have the following scenario:
- There are blocks in my CAD drawing that follow the naming pattern "B_0" - "B_64".
- I have a global branch that is supposed to match my AA configuration, say "Building01.Lighting".
- In the symbol instantiation expression editor I want to do something like "Building01.Lighting.Light" + StrSubstring(BlockReferenceName, 2).
=> No matter what I am trying to do, when the BlockReferenceName is part of my expression then the expression fails. Symbol context is always empty. For testing purpose I have even removed everything else from the expression except for BlockReferenceName. But to no avail. What am I doing wrong?
For your information:
I found out by myself...
BlockReferenceName is a function, not a constant.
Consequently it must be suffixed with (). There is maybe an issue with autocompletion...
In my previous example everything works well when using:
"Building01.Lighting.Light" + StrSubstring(BlockReferenceName(), 2)


