Transform object whit history


#1

Hi;
in this sample the function doc.Objects.AddBrep(brep[i], null, history, false) have the parameter: history.
Now I want to orient some object on surface with the history, but the function doc.Objects.Transform() seams not have the history parameter like the sample , how cant I do it in c#?
Sorry for my english.


(Menno Deij - van Rijswijk) #2

See the following example for how to support history.

https://github.com/dalefugier/SampleCsCommands/blob/master/SampleCsHistory.cs


(Dale Fugier) #3

Keep in mind that history is command-based. You probably won’t be able to do this in Rhino.Python.


#7

Did you solve this problem?


#8

sorry I cant not solve it.