Transform object whit history

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.

See the following example for how to support history.

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

1 Like

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

2 Likes

Did you solve this problem?

sorry I cant not solve it.

Hi @dale, is this still a limitation?

This link is dead :frowning:
https://github.com/dalefugier/SampleCsCommands/blob/master/SampleCsHistory.cs

The developer samples repository has been moved to here:

Command history still works like it always has…

– Dale