Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I am trying to create a tapped hole and following the user's guide of toolkit.
The error I got after compiling my code is: "PRO_HLE_CR_DIR : undeclared identifier"
How can this problem be solved? Can anybody help?
Solved! Go to Solution.
PRO_HLE_CR_DIR is a enumeration. You need to use one of the enumeration values. For example:
value_data.v.i = PRO_HLE_CR_IN_SIDE_ONE
The enumeration is defined in ProHole.h:
/* PRO_E_HLE_CRDIR_FLIP */ typedef enum pro_hle_cr_dir { PRO_HLE_CR_IN_SIDE_ONE = -1, /* Std/sketch hole creation in side 1 */ PRO_HLE_CR_IN_SIDE_TWO = 34 /* Std/sketch hole creation in side 2 */ }ProHleCrDir;
PRO_HLE_CR_DIR is a enumeration. You need to use one of the enumeration values. For example:
value_data.v.i = PRO_HLE_CR_IN_SIDE_ONE
The enumeration is defined in ProHole.h:
/* PRO_E_HLE_CRDIR_FLIP */ typedef enum pro_hle_cr_dir { PRO_HLE_CR_IN_SIDE_ONE = -1, /* Std/sketch hole creation in side 1 */ PRO_HLE_CR_IN_SIDE_TWO = 34 /* Std/sketch hole creation in side 2 */ }ProHleCrDir;
Thank you Gabriel very much. It worked. As you might have guessed I am new to coding and learning toolkit. Your help is very much appreciated.