Iβm trying to convert a Navisworks model (TS170.nwd) to SCZ format with shattering enabled. The shatter step completes successfully, generating the XML and individual SC files, but the SCZ master conversion fails with this error:
[09/23/2025 18-48-35-000 D:0 PID:9017 M:1837MB] ERROR 0: Failed to build master assembly model
ERROR: Failed to export SCZ file to: /home/pts-pc-70/Downloads/check/TS170_shatter/sczMaster/
HOOPS Communicator cleaned up
For WriteSCMaster, should modelsPath point to the folder containing SCZ files (sc/TS170/) or one level above (TS170_shatter/), given the XML references TS170/...?
Is it okay to have scs/, prc/, png/ folders in the shatter output while only using SCZ files for master SCZ creation?
Should the <ExternalModel Name="..."/> entries in XML include the .scz extension or just the base name?
Does outputFile need to be a full path including the filename or just a folder path?
The method for generating a shattered assembly using WriteSCMaster is described in the following link: Export to Shattered Parts
By enabling the prepare_shattered_parts and prepare_shattered_xml options, you can create the part-level SC models and master XML file using WriteSCShattered, and then generate the master SC model with WriteSCMaster. When executed in this sequence, the process works correctly.
This functionality is useful for CAD systems such as CATIA V5, Creo (Pro/E), NX, or SolidWorks, where subcomponents are stored as separate files.
On the other hand, the convertScShattered sample is intended for monolithic assembly modelsβsuch as IFC, Revit, or Navisworksβwhere it splits a single model into individual SC/SCS files. These files can then be loaded with loadSubtreeFromXmlFile or loadSubtreeFromScsXmlFile, but SCMaster generation is not supported in this workflow.