OpType

From Compost Wiki
Revision as of 16:55, 11 October 2007 by JefD (talk | contribs)
Jump to navigation Jump to search

Description

This command will return true if the current operations type matches the parameter specified.

The parameter can be any string up to 255 characters in length and is not case sensitive. If the op is a utility OP or custom op then the type will be a name that is provided by the VMM or plug-in developer. If the op is a standard op then the following strings are valid parameters for there corresponding op types. In the case where a string refers to a specific sub type of op then the command will return true for only that specific sub type. The (") characters are not parts of the string.

Mill Op: "MILL"
Mill Drilling: "MDRILL" "DRILL" "ROUGHMILLBORE" "FINISHMILLBORE"
Mill Contour: "CONTOUR" "MCONTOUR"
Mill Pocket: "POCKET" "MPOCKET" "FACEMILL" "MFACEMILL"
Mill Threading: "THREADMILL" "MTHREADMILL"
Mill Surfacing: "SURFACE" "MSURFACE"
Lathe Op: "LATHE"
Lathe Contour: "CONTOUR" "LCONTOUR"
Lathe Rough: "ROUGH" "LROUGH"
Lathe Thread: "THREAD" "LTHREAD"
Lathe Drill: "DRILL" "LDRILL"


Notes

This command is the only way a post can know what the current Utility op type is. The VMM developer will provide you with the strings to use for each Utility op that your post/VMM should support.


Stats

ID 269
Type Boolean
Class All Machines
Scope Op Loop
Min Version 5.57