CTInterfaceValidate |
The CTInterfaceValidateCustomPropertiesArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelCaption | Caption of the message group. If this is left null or empty, localized "Error" is used instead. | |
| CancelMessage | Message to show for user. | |
| ChangedProperties | Array of properties that are changed during this process. | |
| Properties | Properties passed for the event. Values of properties can be changed. | |
| PropertyScope | Scope of the current properties. See ctPropertyScope_e. | |
| ShowError | TRUE to show CancelMessage and cancel the current OK/Apply process. | |
| SWDoc | SolidWorks.Interop.sldworks.ModelDoc2 which CUSTOMTOOLS Properties are validated. Type is defined in assembly SolidWorks.Interop.sldworks.dll. |
| Name | Description | |
|---|---|---|
| SetError | Call to set a message to CUSTOMTOOLS Properties and preventing exit with OK/Apply. Automatically sets CancelMessage and CancelCaption according to params and also ShowError to TRUE. |
| Date | Version | Description |
|---|---|---|
| - | 2015 SP4 | First Release |