Community Tip - You can change your system assigned username to something more personal in your community settings. X
The user guide and example code describe the coordinate system.
How do I create a point with a real number offset from the end curve with reference to the curve?
Please help me.
I need to implement the red area shown in the figure as toolkit code.
Thanks
Warm Regards,
SeonHo
Solved! Go to Solution.
Go through UgGeneralPointCreate.c
and provide the reference as per the required Datum point.
Go through the "tkuse.pdf" document. You can see the following details:
Example 6: Point At Center of Curve or Surface
To create a datum point at the center of an arc or circle entity, use the following
constraints.
Placement Constraint
Element
Reference Element Valid Value
PRO_E_DPOINT_PLA_
CONSTRAINT (Constraint 1)
PRO_E_DPOINT_PLA_
CONSTR_REF
Curve, edge, or surface (Sphere)
PRO_E_DPOINT_PLA_
CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_
CENTER
PRO_E_DPOINT_PLA_
CONSTR_VAL
Not applicable
I do not know the document-only report.
I need to be at the offset of the real number, not the center.
UgFieldPointCreate.c We also looked at it.
However, the point created by referring to UgFieldPointCreate.c does not have an edit value.
If you have experience creating points for end curves, please share.
PS. The PTC Technical Support Officer went on vacation and posted to the community.
I will create a case when a technical support representative returns to his / her vacation.
Go through UgGeneralPointCreate.c
and provide the reference as per the required Datum point.
I added curve to ProSelect in the file(UgGeneralPointCreate.c) and tried to run it.
The result will fail.
You want to create a point that has a certain offset from the end point of the curve by selecting the curve.
I am also looking at the example files in the guide and the creo installation location.
If you are dealing good with the toolkit, please share me the knowledge that solve my problem.
thanks
Problems caused by using only PRO_E_DPOINT_DIM_CONSTR_TYPE.
PRO_E_DPOINT_PLA_CONSTR_TYPE was also used to create the tree, so points were created correctly on the curve.
thanks
Warm Regards,
SeonHo