Jump to content

History of actions


---
 Share

Recommended Posts

Hi,

is there a way to do in script some actions but having only one step in history?

I am making many points, but i would like to have it like one step.
I am working on a script where i want to have specified number of equaly spaced points. Since CAD model faces are strangely divided i get wrong results using section and reducing it's points.
Those points will be projected on mesh.

Edit:

I just found that my intended creation of points can be done by another approach, which is one step in history.

But anyways, question for that history step is still here

Edited
Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to view this username.

Hi and thanks for a hint. This seems to be what i was searching for.
Unfortunately it's only for 2026 - i have still 2025 and it's not available.

Basically if i do in the script creation of 50 single points, then in history ( undo ) i have it filled with each point and i would like to have it in one action removed that step.

I've found a working way to obtain what i need and for now i am staying at half working solution.

In a nutshell: customer wants to have evenly spaced 30 points on a circular path from upper half and lower half of a part. I was using section and equally spaced points on a edge. Problem is it's defined by distance and not number of points. Then i wanted to add offset to that selection.

So i've done a script, where i select actual section from tree, do selection of all points, use deselection based on sphere ( size of offset ) on both endings of selected curve, calculation of point distance and it's done.
I saw that some of points are not with correct distance, but i saw that this function is returning created points, so for fully working solution i'll do own calculation and selection of points, so my script will return point cloud.

Link to comment
Share on other sites

 Share

×
×
  • Create New...