Nx 8.5 Block UI Styler - How to create a block whose appearance depends on the chosen option?
Nx 8.5 Block UI Styler - How to create a block whose appearance depends on the chosen option?
(OP)
Hi everyone,
I want to create a block for my tool. I have two different options to create my tool and I would like the appearance of the block to change depends on the chosen option (the same as it is in Nx for example for with block creation tool - block looks different for different type). Do you think it is possible? How to do it? I can't find that option.
I want to create a block for my tool. I have two different options to create my tool and I would like the appearance of the block to change depends on the chosen option (the same as it is in Nx for example for with block creation tool - block looks different for different type). Do you think it is possible? How to do it? I can't find that option.





RE: Nx 8.5 Block UI Styler - How to create a block whose appearance depends on the chosen option?
Should the dialog change based on some input the user makes on the dialog (clicking a radio button etc)? Or should it be based on some values it finds from the model?
Either way, use the setShow() method on the blocks to show/hide the different ones making the dialog change as required.
RE: Nx 8.5 Block UI Styler - How to create a block whose appearance depends on the chosen option?