I have a simple point parametric object that is not event based.
I use this little code snippet in almost every tool:
resultStatus := GetCustomObjectInfo(objName,objHd,recHd,wallHd);
ControlGeometry := GetCustomObjectPath(objHd);
SetObjectVariableBoolean(objHd, 800, TRUE);
If I have Event Based ticked in the properties of the tool, it returns an error until I get rid of those lines and the code runs twice - creating a default object and anothe
Ciao @michaelk,
no, nothing new there. I illustrate here the code that you mentioned:
resultStatus := GetCustomObjectInfo(objName, objHd, recHd, wallHd);
sets all basic variables to operate on the running plug-in code
objName universal name of the running plug-in
objHd handle of the running plug-in as instance of a definition (record, type 48)
recHd handle of the running plug-in definition (record, type 47)
wallHd for wall-insertable objec