Hello everybody
Could someone explain to me what the expressions “.InternalDBObject” and “.InternalObjectId” mean in python?
I have found them in many scripts but I cannot understand the meaning
For example what does it mean this expression:
Both are properties of the Dynamo wrapper classes that encapsulate native AutoCAD objects from the AutoCAD .NET API. You use them to unwrap the Dynamo object and gain access to the underlying object, hence the term “internal” in the property name. The InternalDBObject property will return a DBObject, and InternalObjectId will return an Object ID that you can use in a transaction to get the database object.
You can read the AutoCAD .NET API Developer docs to understand this in greater detail. Also, this video may help.
Can I ask you what is the difference between InternalDBObject and InternalObjectId?
Why in this video you used InternalDBObject applied to a corridor and I found InternalObjectId applied to an alignment?