Smartproperties: type Options

In my smartproperties, I would like to control the display of some of the properties of the revision table according to the revision.

 

Explanation: in my file name I have the revision (R0,R1,......).

  1. I automatically retrieve the revision in my smartproperties via a String property.
  2. I then put a condition property based on the result of my revision property.
  3. With the conditional property above I would like to drive an array (Options type property), which displays different properties depending on the revision.

This is where I get stuck, I can't manage to control my option array with a property.

Who has an idea?


smartproperties_tableau_de_revision.docx

Hello

There has been a similar question before. (it seems to me)

Hello

 

Cotton as a question!

 

I'd be tempted to say it's not possible, but it looks like you've made a lot of progress!

 

We'll wait for the developers of SmartProperties to give their opinion!

Hello

 

Can be a piece of solution attached

 

You can force the option to be validated and checked the next time SmartProperties is launched.

 

Unfortunately it will display the correct mask only after validating and relaunching the Smart

 

What to see

 

Philippe


smart-options.zip
4 Likes

I thought that by putting the conditional property "revision table" right before the option property it would automatically force the latter.

 

Thanks for the tip (I tested it works) but launching the smartproperties 2 times doesn't suit me!!!.
 

Idea: launch a macro (I saw that you can launch a macro from smartproperties) when opening smartproperties that closes and reopens the program, it could do it, right?

Yes, it's possible to run a macro "Before the creation of the input mask" which will force the value of the property so that the interface will be directly good.

It will work

 

 

 

2 Likes

I gave up on the idea.... too "gas factory"!!

1 Like