Forum de la communauté Allplan

[Question] Two attributes in function


Hello,

Could you help me how I can make a label with two attributes? @xxx@ and @yyy@. What should I write between the two attributes to show both?

Thanks

Show most helpful answer Hide most helpful answer

""+@903@+(_IF_(@36021@="igen")"V"_ELSE_"")

Namenlos gezeichnet in vollem Bewusstsein - ignorant, in eigen Augen vermutlich höflich, dennoch unhöflichst, unfreundlichst wer einen/viele vermutete - sich von alters erschließende Namen nennt.
[b]

If you are talking about labeling, then you need a forumula: @xxx@+@yyy@.
For adding text you also need a formula: "Text"+@xxx@+@yyy@+"Text".
In both cases the Format of the formula should be AXX (where XX represents the total number of characters in the formula).

Jurij

Stecke im Allplan seit 1995
Hotline für Kunden in Slowenien seit 1997

Dear Jurij,

Thanks for your answare. If I use just "+" between the two attributes it makes a simple matemathical add. So the result is one number (insted of two separate number)

Hi,

to avoid that simply add " " between both attributes

@xxx@+" "+@yyy@

As a result there will be a space between both attributes.
If you don't want that than just "" are enough.

Jurij

Stecke im Allplan seit 1995
Hotline für Kunden in Slowenien seit 1997

If I write "" also to the begining it works! BUT if I would like to mix an attribute then a IF it does not work..:

""+@903@+""_IF_(@36021@="igen")"V"_ELSE_""

Do you have any idea?

""+@903@+(_IF_(@36021@="igen")"V"_ELSE_"")

Namenlos gezeichnet in vollem Bewusstsein - ignorant, in eigen Augen vermutlich höflich, dennoch unhöflichst, unfreundlichst wer einen/viele vermutete - sich von alters erschließende Namen nennt.
[b]