Notifications
Clear all

[Closed] XRef_Material

Is it possible to create XRef_Material and set srcFileName and srcItemName? Seems like those properties are read-only. I tried with objXrefMgr interface but I couldn’t bring only materials.

2 Replies

This is one of my major bug-bears with XRef Materials, the fact that it needs an XRef Object entry makes it slow… I wrote a replacement material referencing system which links directly to .mat files instead.

Yeah, but the problem with that, is that in order to make it track the live updates, you have to create a FileSystemWatcher in order to track the changes and the reload the mat…

So I’ve decided to go with the easy way… I’m creating the xref objects, get the material and then I delete the object (at least for now).