Hi,
How to make iLogic code to get the status of Drawing / Drawing View / Component / Style / Style from Base?
1. grayed out or not?
2. true or false?
3. is it possible to change the status of it not using SetDesignViewRepresentation which needs to have View Representation in it, rather just to change the state of Style from Base without even knowing the name of View Representation, just to do it for the current View?
Thank you.
Solved! Go to Solution.
Solved by engilic. Go to Solution.
Sorry, silly me.
Just need to see .ViewStyle (if it is kFromBaseDrawingViewStyle).
For grayed out or not just try to make it kFromBaseDrawingViewStyle with Try-Cacth and if it can be set to kFromBaseDrawingViewStyle then it is not greyed out if you catch an error then of course it is grayed out.
Sorry
Can't find what you're looking for? Ask the community or share your knowledge.