declare a (helper) construction line in python

Need help, or want to share a macro? Post here!
Leatherman
Posts: 71
Joined: Thu Feb 02, 2017 2:49 pm

declare a (helper) construction line in python

Postby Leatherman » Wed Mar 15, 2017 11:06 am

Hello,
sorry for this noob question, but I couldn't find an answer anywhere: How do I declare a (helper) construction line (or other primitive) with python?
Could somebody give me pls an idea?
Regards
Andre
User avatar
Chris_G
Posts: 354
Joined: Tue Dec 31, 2013 4:10 pm
Location: France

Re: declare a (helper) construction line in python

Postby Chris_G » Wed Mar 15, 2017 2:27 pm

Hi,
I'm not sure this is what you're looking for ( I don't use it myself ) :
Construction property (here on a Part.Line) :

Code: Select all

print(Part.Line.Construction.__doc__)

Code: Select all

Defines this geometry as a construction one which
means that it is not part of a later built shape.
Leatherman
Posts: 71
Joined: Thu Feb 02, 2017 2:49 pm

Re: declare a (helper) construction line in python

Postby Leatherman » Wed Mar 15, 2017 2:56 pm

Hi,
thank you this is it! Now I assume it's the same with circle or box, just add the .construction? Guess it should be like that.
Great Thread closed, thank you Chris,
regards
Andre