For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

AIS Limitations

Patrik Mueller's picture
Forums: 

Hi,

in AIS there is a lot of using enumerations (for example: Quantity_NameOfColor myHilightColor in AIS_Interactive context).
In my opinion it would be better using the real types like Quantity_Color. So users coud select the whole range of possibilities instead just the few ones from enumeration.

What are you thinking about such a change (I know it would be a lot of work - but a good improvement).

Best regards,
Patrik Müller

webmaster_2's picture

I've registered this improvement proposal with OCC468 internal code.

Robert Boehne's picture

I wonder if this would be as difficult as it seems. It depends on how deep the enumerations go, at some point they should be translated into an actual color, correct?
I have both functions in my own AIS code, one takes an enum, the other a Quantity_Color object. I would suggest overloading so that both will work.

Patrik Mueller's picture

As I wrote - only a lot of work.

Let's hope for V5.

Regards,
Patrik

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.