NXOpen.UF.Drf.CreateOrdmargin¶
-
Drf.
CreateOrdmargin
()¶ Refer to UF_DRF_create_ordmargin for documentation.
Signature:
CreateOrdmargin(marginType, ordinateOriginTag, objectArg, marginXyPoint, marginXyDirection, offsetDistance)
Parameters: - marginType (int) – Margin type 1 = horizontal 2 = vertical
- ordinateOriginTag (Tag) – Ordinate origin tag
- objectArg (
NXOpen.UF.Drf.Object
Refer to UF_DRF_object_s for documentation.) – Data of line object (see uf_drf_types.h) - marginXyPoint (list of float) – x,y point on margin (required if the object_tag in the object structure is null, ignored otherwise)
- marginXyDirection (list of float) – x,y direction of margin (required if the object_tag in the object structure is null, ignored otherwise)
- offsetDistance (float) – Offset distance
Returns: Object tag of created ordinate margin.
Return type: License requirements: DRAFTING