Inventor Object Model understanding

119 Views Asked by At

what is the meaning of prefix of 'k' or other prefix in inventor API

I tried posting in autodesk but those people also don't know

1

There are 1 best solutions below

0
On

Prefixing with lowercase "k" is generally used to indicate a constant. This is evident when looking at all of Inventor's enums. Example:

ButtonTypeEnum.kAcceptButtonType 
ButtonTypeEnum.kCancelButtonType 
ButtonTypeEnum.kEditButtonType

See this stackoverflow post: What is the significance of starting constants with 'k'?