Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How do I make a line a normal/contruction line from the API?
starting from here:
app = adsk.core.Application.get()
ui = app.userInterface
product = app.activeProduct
rootComp = product.rootComponent
sketches = rootComp.sketches
xyPlane= rootComp.xYConstructionPlane
sketch = sketches.add(xyPlane)
lines = sketch.sketchCurves.sketchLines
line1 = lines.addByTwoPoints(adsk.core.Point3D.create(1,1, 0), adsk.core.Point3D.create(2,2, 0))
now, how do I get line1 to be a construction line?
Solved! Go to Solution.