Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Curious: Faster to Transform then delete rather than Transform with delete true

$
0
0

@nathancoatney wrote:

While using:

ScriptContext.Doc.Object.Transform(self: ObjectTable, objectId: Guid, xform: Transform, deleteOriginal: bool) -> Guid

I’ve noticed it is faster to:

ScriptContext.Doc.Objects.Transform(guid, False)
ScriptContext.Doc.Objects.Delete(guid)

than:

ScriptContext.Doc.Objects.Transform(guid, True)

and I am just wondering why that would be?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles