Pass the existing Revit object or create and pass a small object?

Pass the existing Revit object or create and pass a small object?

BardiaJahan
Advocate Advocate
265 Views
0 Replies
Message 1 of 1

Pass the existing Revit object or create and pass a small object?

BardiaJahan
Advocate
Advocate

From the performance standpoint, while passing data between methods, is it "cheaper" to pass Revit objects (e.g. an AssemblyInstance class) or to create a custom data type that contains one or two properties that will be used?

 

Basically I am trying to find the answer to the following question in Revit API context:

https://stackoverflow.com/questions/11425279/pass-a-big-existing-object-or-create-and-pass-a-small-o...

 

0 Likes
266 Views
0 Replies
Replies (0)