AddObject ("3D Line") (Layout Editor)
Adds a 3D line to the active design.
| UI Access | From the Layout ribbon, select Draw 3D line. | ||||||||||||||||||||||||||||||||||||||||||||||||
| Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Return Value | Returns the name of the new 3D line. |
| Python Syntax | AddObject(<ObjectType>, [<Parameters>]) |
| Python Example |
oEditor.AddObject("3D Line", [ "NAME:Contents", "3D LineGeometry:=", [ "Name:=", "3D Line_12904", "LayerName:=", "Postprocessing", "lw:=" , "0", "gm:=", [ "m:=", 1, "pnt:=", [ "lid:=", 2, "pos:=", [ "X:=", "-0.08mm", "Y:=", "0.03mm", "Z:=", "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" ,[ "X:=" , "-0.07mm", "Y:=" , "0.03mm", "Z:=" , "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" , [ "X:=" , "-0.07mm", "Y:=" , "0.021mm", "Z:=" , "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" , [ "X:=" , "-0.08mm", "Y:=" , "0.02mm", "Z:=" , "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" , [ "X:=" , "-0.08mm", "Y:=" , "0.03mm", "Z:=" , "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" , [ "X:=" , "-0.08mm", "Y:=" , "0.03mm", "Z:=" , "0"]], "pnt:=" , [ "lid:=" , 2, "pos:=" , [ "X:=" , "-0.08mm", "Y:=" , "0.03mm", "Z:=" , "0"]] ] ] ]) |