Global Variables

Balises:

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

1 - 4 (4)
  • 1

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

Pièces-jointes (2)

img
assign_attributes.png
Type: image/png
Téléchargé 408 fois
Size: 60,69 KiB
img
change_attributes.png
Type: image/png
Téléchargé 405 fois
Size: 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

Pièces-jointes (1)

img
niveau de structure.PNG
Type: image/png
Téléchargé 370 fois
Size: 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

1 - 4 (4)
  • 1

https://campus.allplan.com/ utilise des cookies  -  Plus d'informations

Accepter