First time here? Check out the Help page!
1 | initial version |
You can use foo.handle
to get an OpenStudio::UUID object for any OpenStudio ModelObject. I don't know the exact syntax in C#, but here's an example in interactive Ruby:
2 | No.2 Revision |
You can use foo.handle
to get an OpenStudio::UUID object for any OpenStudio ModelObject. I don't know the exact syntax in C#, but here's an example in interactive Ruby:
Edit:
If you want to get the UUID of a referenced object, you can do exactly as above by getting the referenced object and then calling .handle
on it. Here's an example of getting the UUID of a layer in a construction:
3 | No.3 Revision |
You can use foo.handle
to get an OpenStudio::UUID object for any OpenStudio ModelObject. I don't know the exact syntax in C#, but here's an example in interactive Ruby:
Edit:
If you want to get the UUID of a referenced object, you can do exactly as above by getting the referenced object and then calling .handle
on it. Here's an example of getting the UUID of a layer in a construction:
Edit 2:
If you want to get the UUID for a generic IdfObject, instead of calling foo.getString(4).get
, you can call foo.idfObject.getString(4).get
.