NXOpen.UF.Std.CreateActivewebFile

Std.CreateActivewebFile()

Refer to UF_STD_create_activeweb_file for documentation.

Signature: CreateActivewebFile(workingDirectory, baseName, geomServer, serverDirectory, geometryDirectory, attributeServer, attributeDirectory, localServerDirectory, localGeomDirectory, localWebDirectory, tolerance, modeFlags)

Parameters:
  • workingDirectory (str) – The working directory to be used for data files.
  • baseName (str) – The default root name for all the generated files.
  • geomServer (str) – The node name or IP address of the geometry server.
  • serverDirectory (str) – The relative directory path on the geometry server for the .amm files.
  • geometryDirectory (str) – The relative or absolute path on the geometry server to the 3d data files (.3di or .3dd).
  • attributeServer (str) – The name or IP address for the attribute/ annotation database server.
  • attributeDirectory (str) – The absolute path on the attribute serve to the .mdb database files.
  • localServerDirectory (str) – The absolute directory path for the location of the .amm files generated by the translator.
  • localGeomDirectory (str) – The absolute directory path for the location of the 3di and 3dd geometry data files.
  • localWebDirectory (str) – The absolute directory path for the location of the am3 web files. This directory will probably be the same location that other HTML, TIF or VRML files are being written.
  • 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) – Bit field to control output contents. Flags are: UF_STD_ACTIVEWEB_CREATE_ATTR Controls creation of attribute database. UF_STD_ACTIVEWEB_ERASE_LOG Erases log files after successful optimization. UF_STD_ACTIVEWEB_MOVE_FILES Moves generated files to the output directories as specified by the local_server_directory, the local_geom_directory, and the local_web_directory. If the move flag is set and the directory spec for one of the local directories is blank, then that move will be ignored. UF_STD_ACTIVEWEB_RECURSIVE Apply translation to all components of an assembly. For component parts the base_name will be the part name. UF_STD_ACTIVEWEB_NO_OPTIMIZE Generates the polygon data (.3dx) file but does not invoke the optimizer to create any of the other files. This is useful if you desire to manually perform the optimization at another time.

License requirements: None