Generate WebGL viewer files for 2D drawings
-
In the Desktop Client, click Find > Administration > File Type to open a list of all defined file type objects.
-
Drag the 2D drawing (.igr, .pid, .sma, .spe, .sha, and .zyq) file type objects to the 2D WebGL viewer file (.vecz) file type object to create a SPFFileTypeFileType relationship definition.
The following delivered methods are configured using the GenerateAlternateRendition client API.
-
FileCompositionGenerate2DWebGLViewerFiles
-
FileGenerate2DWebGLViewerFile
To learn more about the arguments configured on these methods, see GenerateAlternateRendition client API.
-
-
Create the following relationships:
-
Relate the FileCompositionGenerate2DWebGLViewerFiles method to the ISPFFileComposition interface and to the DocumentUpdate access group.
For more information on the ISPFFileComposition interface, see ISPFFileComposition interface. To learn more about access groups and methods, see Configure method access.
-
Relate the FileGenerate2DWebGLViewerFile method to the ISPFAlternateRenditionComposition interface and to the DocumentUpdate access group.
For more information on the ISPFAlternateRenditionComposition interface, see ISPFAlternateRenditionComposition interface. To learn more about access groups and methods, see Configure method access.
-
Generate WebGL viewer files for 3D models
If an XML file with the same name as a non-published Smart 3D model file is attached to a design document, a label database file (.mdb2) is automatically generated in addition to the 3D WebGL viewer file (.binz). The label database file (.mdb2) is required for searching tags in a non-published Smart 3D model file using the Web Client. The Show hidden files option in the Change User Preferences dialog box must be selected to show label database files in the Desktop Client.
-
In the Desktop Client, click Find > Administration > File Type to open a list of all defined file type objects.
-
Drag the Smart 3D (.zvf and .vue) file type objects to the 3D WebGL viewer file (.binz) file type object to create a SPFFileTypeFileType relationship definition.
The following delivered methods are configured using the GenerateAlternateRendition client API.
-
FileCompositionGenerateWebGLViewerFiles
-
FileGenerateWebGLViewerFile
To learn more about the arguments configured on these methods, see GenerateAlternateRendition client API.
-
-
Create the following relationships:
-
Relate the FileCompositionGenerateWebGLViewerFiles method to the ISPFFileComposition interface and to the DocumentUpdate access group.
For more information on the ISPFFileComposition interface, see ISPFFileComposition interface. To learn more about access groups and methods, see Configure method access.
-
Relate the FileGenerateWebGLViewerFile method to the ISPFAlternateRenditionComposition interface and to the DocumentUpdate access group.
For more information on the ISPFAlternateRenditionComposition interface, see ISPFAlternateRenditionComposition interface. To learn more about access groups and methods, see Configure method access.
-