Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] Data validation entry in Smartparts UI?


Hi,

I would like to create data validation event of UI of smartparts. Any idea how to achieve it?
After the changes of the parameters are made, no validation of this event is possible!
( Just VALUES which are static!)

Just when you create a smartpart the following is triggered:
- Master script
- Dialog script

But if you change the parameters through UI, no script is run at all!!
Any idea would be welcome!!!

Primoz

Hello,

Yes, you can.
Choose the right parameters for I_PALETTE command.
Look at the online help.


Hi,
I want to do sth like this in Parameter script, where I want that the code executes each time, the parameter WallWidth is changed:

nBars = INT((100*WallWidth-3.15)/(Bar_Top_Diam_1+3.15))

SWITCH nBars
CASE 1
VALUES "Bar_Top_Num_1" 2
CASE 2
VALUES "Bar_Top_Num_1" 2,3
SWITCH_END

Is this possible?

Primoz

What is the link between your first message and this one?

Look at the online help and you will see your mistake: BREAK is need at the end of each case.