Ribbon User Interface Macros
The following single entry and exit type of interactions are supported by ProMacroExecute().
To switch the wireframe display of model, use the macro:
Command `ProCmdEnvWireframe` 1
To switch the shaded display of model, use the macro:
~ Command `ProCmdEnvShaded` 1
You can switch the display for datum planes and datum axes using the following macros:
Datum Planes
~ Command `ProCmdEnvDtmDisp` 1
Datum Axes
~ Command `ProCmdEnvAxisDisp` 0
To repaint a model, use the macro:
~ Command `ProCmdViewRepaint`
To get the default model orientation, use the macro:
~ Command `ProCmdNamedViewsGalSelect` `Default`
To get the model information, use the macro:
~ Command `ProCmdInfoModel`
War dies hilfreich?