NXOpen.UF.Std.CreateVrmlFile

Std.CreateVrmlFile()

Refer to UF_STD_create_vrml_file for documentation.

Signature: CreateVrmlFile(fileName, tolerance, modeFlags)

Parameters:
  • fileName (str) – Name for the output VRML file.
  • tolerance (float) – adjustment to facet tolerance. Values larger than 1.0 produce fewer output facets. Values less than 1.0 increase the number of facets generated.
  • modeFlags (int) – Control bit fields for controlling output facets. The following are valid flags: UF_STD_OUTPUT_LIGHTS - output light sources when set. UF_STD_OUTPUT_MATERIALS - output material properties if set. UF_STD_OUTPUT_TEXTURES - output image textures if set. UF_STD_OUTPUT_BACKGROUND - output background/foreground information UF_STD_OUTPUT_VRML_2 - use VRML 2.0 specification if set.

License requirements: None