Hi How should I use this when it’s a sealed class?
I tried to derive it and I get an error:

When I tried it differently I get a result None
:
Update:
ignore the typo with the Flatten, the result is the same even if it is: drw_params.Flatten = True
I got something:

Now how do I add this to the document? Is this a curve?
Thanks @Helvetosaur, Thanks @rajaa
These two threads helped me get started.
dale
(Dale Fugier)
5
Thanks Dale,
Could you explain what is a snapshot
that this script requires my document to have?
dale
(Dale Fugier)
7
1 Like
@dale can I automate the snapshot creation?
Say, I know which layers to be visible and I do this with a script and I create a drawing with a script, can I put also snapshot creation in a script?
dale
(Dale Fugier)
9
I don’t see anything in RhinoCommon that lets you save or restore snapshots. But the command is scriptable.
– Dale
I see only one command “Snapshots” and what it does is to open the panel. How could I create new snapshot and select the states?
dale
(Dale Fugier)
11
Run -snapshots
(notice the hyphen…).
– Dale
1 Like