Message 1 of 5
Get the Xref object node sceneName instead of sourceName
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am creating a script using Xref objects.
In my scene I recorded an Xref object group with 4 primitives and made a duplicate of the object node.
So 2 group of 4 primitives are shown in the xref objects dialog
When I iterate over all my Xref object nodes, in code, I want to use the scene name instead of the source name.
Because this scenename contains unique names and the sourcename references to the actual source data.
But using objectsname keeps giving the sourceName 😞
This is my code
RecordObjects = objXRefs.getAllXRefObjects() for i = 1 to RecordObjects.count do ( print RecordObjects[i].objectname )
After looking in the API under Xref object node I couldn't find a proper method
http://help.autodesk.com/view/3DSMAX/2019/ENU/?guid=GUID-8B7E81F0-AC81-4518-8D8E-B0C9C6717645
Any help would be appreciated
Regards
Bert