Replies: 4 comments 10 replies
-
Unfortunately, no. The goal is to be able to simulate one with overrules, but I only have ObjectOverrule and DrawableOverrule, though this is usually enough for most. I’ve thought about some different options, such as making a couple of base custom objects that could be extended or overruled. I also need to consider if someone wants to add in a C++/Python custom object. As of now, the only way to do this is fork the project Is this for something specific? Maybe I can recommend an approach. BTW, you can examine the contents of dwgOutFields with the snoop filer, see testDbObjectSnoop sample |
Beta Was this translation helpful? Give feedback.
-
getBinaryData, setBinaryData |
Beta Was this translation helpful? Give feedback.
-
As I understand it, xr1 = Db.Xrecord(ent.setBinaryData(...))
xr2 = Db.Xrecord(xr1.setBinaryData(...))
xr3 = Db.Xrecord(xr2.setBinaryData(...)) |
Beta Was this translation helpful? Give feedback.
-
Yes, I can try to make setBinaryData return the objectId of the Xrecord However, if you notice the picture I posted, obj.setBinaryData creates a Dictionary with the obj as its parent, I think with the nested approach, it may be difficult to query if the object has nested data, and creating a lot of dictionaries with one entry. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Can I create custom types inheriting from
Db.Entity
that will write additional data to the dwg database. I see the.dwgOutFields()
method inARX
, but I don't see it inPyRx
.Beta Was this translation helpful? Give feedback.
All reactions