sketchObject.cleanAll()

sketchObject.cleanAll()

MichaelT_123
Advisor Advisor
371 Views
2 Replies
Message 1 of 3

sketchObject.cleanAll()

MichaelT_123
Advisor
Advisor

Hi TF360,

 

Could you consider adding a function

  • sketchObject.cleanAll()

to the sketch object, which would greatly simplify and accelerate sketch management processes.

cleanAll() means delete effectively all sketches' entities. The name is not important as any meaningful alternative will do (eraseAll(), emptyIt(), ...). 

 

Regards

MichaelT

 

 

MichaelT
0 Likes
372 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor

I'm curious about what workflow you're doing where you want to delete everything. Can you not just delete the sketch and create a new one?

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

MichaelT_123
Advisor
Advisor

Hi Mr Ekins,


#

I'm curious about what workflow you're doing where you want to delete everything. Can you not just delete the sketch and create a new one?

#

I am doing just that.
Since my pre-school, school, .... uni... I like using erasers. I also notice that many more advanced devices/software like tablets, whiteboards, etc. are equipped with such basic/generic function. Why not the F360 sketch?
The EraseAll() function is better looking (in the code) than a few lines implementing delete&create a new sketch. It could also be faster and leave a cleaner (memory) environment.

Regards
MichaelT

 

 

MichaelT
0 Likes