Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have script that requires the user to pick a 'PlanarFace'
According to the documentation, this should work.
returnValue = userInterface_var.selectEntity(prompt, filter)
However, when I run the script:
# Create a new sketch.
sketches = newComp.sketches
xyPlane = adsk.core.UserInterface.selectEntity('Select Face', 'PlanarFaces')
center = adsk.core.Point3D.create(0, 0, 0)
I get this exception error looking for another argument?
Brad Bylls
Solved! Go to Solution.