Select an Elliptical Arc with a script

Next
 From:  wayne hill (WAYNEHILL5202)
10657.1 
How do I select an Elliptical Arc with a script?

An Ellipse can be selected with this script.

code:

script:/*Select Ellipse */ var curves = moi.geometryDatabase.getObjects().getCurves(); for ( var i = 0; i < curves.length; ++i ) if ( curves.item(i).isEllipse ) curves.item(i).selected = true;



http://moi3d.com/forum/index.php?webtag=MOI&msg=8814.1

Could not find any reference for isEllipticalArc.

Thank you,

Wayne

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10657.2 In reply to 10657.1 
Hi Wayne, the isEllipticalArc property is new for v5 but I accidentally left it out of the v5 beta release notes. I've corrected that.

So if you use the current V5 beta you should be able to modify your script to use isEllipticalArc in the place you are currently using isEllipse.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  wayne hill (WAYNEHILL5202)
10657.3 In reply to 10657.2 
Hi Michael,

Yes, it is working on V5 beta. I was working with V4 and thought it was spelled wrong on my script.

Thank you,
Wayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All