Smartpart - Attribut aus Bezeichnung und Durchmesser


Hallo,

ich bekomme es (wieder) nicht hin, das das Attribut aus "Pfahl_bez" und "dn" in ein Attribut "bez_txt" reingeschrieben wird:
ist es eigentlich möglich das ganze smartpart per Winkeleingabe zu kippen?

Gruß Jürgen
Allplan V10 bis V2024

Adjuntos (2)

Type: image/jpeg
Descargado 82 veces
Size: 192,85 KiB
Type: text/xml
Descargado 699 veces
Size: 26,78 KiB

Hello,

Write this:

bez_txt = pfahl_bez + STR ( dn , 1 , 0 ) !!! 1 is enough if you don't want to get a "space" before with a number smaller than 10.
PARAMETERS bez_txt = bez_txt

"PARAMETERS" stores the value in the permanent variable.

To rotate the SmartPart when you insert it in the drawing, look at the bottom bar in Allplan, you can enter an angle before clicking to place it.


Hello Betrand,
I made a few changes and it works now.
Line 0032 is not displayed in the dialog menu. What is the problem?

Gruß Jürgen
Allplan V10 bis V2024

Adjuntos (1)

Type: image/jpeg
Descargado 79 veces
Size: 276,23 KiB

Replace I_OUTFIELD with I_INFIELD
Add LOCK "bez_text" to Parameter-Script

Hallo,
thank you for help!!! It's works now fine!!

Gruß Jürgen
Allplan V10 bis V2024

Adjuntos (1)

Type: image/jpeg
Descargado 57 veces
Size: 136,98 KiB

Hallo zusammen!

Eine Frage habe ich doch noch: Wie bekomme ich an das Ende des Pfahles einen handle?

Gruß Jürgen
Allplan V10 bis V2024

Adjuntos (1)

Type: image/jpeg
Descargado 52 veces
Size: 182,59 KiB

"ls" muss als Parameter in der Parameter-Liste existieren

"ls" darf danach nicht neu zugewiesen werden bzw. berechnet werden!

funzt jetzt alles!
Danke Nemo!!!

Gruß Jürgen
Allplan V10 bis V2024


https://campus.allplan.com/ utiliza cookies  -  Aqui

Acéptalo