Support Forum

Global Variables

Schlagworte:

Hello

For my smartparts Windows, I am looking for global variables (attribut):
BI (@112@)
BS (@113@)
Topologie (@452@)
This would allow me to automatically place a bar of support on the floor.
I tested with: GLOB_BI ; GLOB_BS ; GLOB_TOPOLOGIE ,
It doesn't seem to work

Do you have any idea?
Rule in general, how recovered parameters smartparts project or object attributes?
Thank you.

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1

Hi,

you can associate to each parameter an attribute of Allplan.(s.assign_attributes.png)
This association is bidirectional.
That means, the attribute value is synchron to the parameter value.
You can change the attribute in Allplan, and the SmartPart is refreshed
with the associated parameter value.(s.change_attributed.png)

Regards,
Jörg

Anhänge (2)

Typ: image/png
421-mal heruntergeladen
Größe: 60,69 KiB
Typ: image/png
417-mal heruntergeladen
Größe: 27,72 KiB

yes assign a parameter to an attribute I know to do this.
"my windods is red", I assign the "red" attribute to the "texet1" attribute to recover after in BCM and choose that line it will be white or red.

not I wish to retrieve in that it level the "smartpart" this is "topology", or the level of the floor, see my example.

I did test according to your method and the level is always 000, your picture shows also 00 if I am not mistaken?

in the cousin of the "smartpart" language functions that could match are:
"GLOB_CSTORY_ELEV"; "GLOB_CSTORY_HEIGHT"

Think you that there is a solution?

Thank you.

Administrateur forum : Allplan.leforum.eu

http://allplan.leforum.eu

Olivier1

Anhänge (1)

Typ: image/png
381-mal heruntergeladen
Größe: 69,37 KiB

Hi,

in SmartParts you can only use attributes in the way I showed!
Because an Object doesn't know something about the document, existing on, and also
an document not necessarily is part building structure, there are nothing informations available about height, story number an so on...
Sorry.
For what purpose is ist needed, to have such informations?
Maybe we can change something in the future...

Regards.
Jörg


https://connect.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren