Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
how to create custom elements along curve or points as profiles in AFX'S equipment?
FOR EXAMPLE:
IF_2 | ELEM_EXIST | |||
USER_SELECT | CURVE | SELECT_CURVE | ||
USER_SELECT | FACE | SELECT_FACE | ||
END_IF_2 | ||||
SEARCH_MDL_REF | THIS | CSYS | ACS0 | ACS0 |
/* | Create | Screw | connection, | if | Reference | is | Point |
IF_5 | REF_TYPE | SELECT_CURVE_PNT | CURVE_START | ||||
CREATE_UDF | profil_ref_csys | ASSEMBLY | REF_CSYS | ||||
UDF_REF | REF_CURVE | SELECT_CURVE | |||||
UDF_REF | REF_PLANE | SELECT_FACE | |||||
UDF_REF | REF_CURVE_PNT | SELECT_CURVE_PNT | |||||
UDF_EXP_REF | REF_CSYS | CSYS | 2 | ||||
END_CREATE_UDF | |||||||
ASSEMBLE | THIS | ||||||
CSYS | REF_CSYS | ACS0 |
END_ASSEMBLE
so now have a problom,how to create "CURVE_END"or"CURVE_START" in curve and receive this information to "so now have a problom,how to create "CURVE_END"or"CURVE_START" in curve and receive this information to "SELECT_CURVE_PNT"?
Can you help me?
Thanks a million !
Hello.
I think, you must select this points manually, using command
USER_SELECT CURVE_END SELECT_CURVE_PNT