[Вопрос] 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

1 - 4 (4)
  • 1

Hello,

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

wizysmart.difraxis.com –––––––––––––––––––––––––––––

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.

wizysmart.difraxis.com –––––––––––––––––––––––––––––

1 - 4 (4)
  • 1

https://campus.allplan.com/ uses cookies  -  More information

Accept