get an empty shape

Need help, or want to share a macro? Post here!
User avatar
bernd
Posts: 7897
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

get an empty shape

Postby bernd » Sat Jul 13, 2019 8:18 am

Setting the Shape attribute of some geomety to None gives an error.

Is it possible to set it to an empty Shape and if yes how is this done?
User avatar
Chris_G
Posts: 1034
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: get an empty shape

Postby Chris_G » Sat Jul 13, 2019 9:21 am

Maybe :

Code: Select all

s = Part.Shape()
User avatar
bernd
Posts: 7897
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: get an empty shape

Postby bernd » Sun Jul 14, 2019 11:16 am

exactly what I need, :D