Remove 3D Formats From Multipatch (Data Management)

Summary

Removes the 3D formats referenced by a 3D object feature layer.

Illustration

Remove 3D Formats From Multipatch tool illustration

Usage

  • The 3D object feature layer enables a multipatch feature class to display its mesh geometry using a suite of visualization effects by using the texture and material capabilities supported in one or more associated 3D model formats. The 3D object feature layer is a new feature class extension of a multipatch geometry that supports multiple associated tables to allow materials rendering, better performance, and 3D industry standards formats.

    Learn more about the 3D object feature layer

  • Many of the 3D formats associated with a multipatch can be edited in a variety of specialized applications. If the material information is no longer needed and all subsequent edits have been completed, consider removing the reference to those 3D formats from the multipatch.

Syntax

arcpy.management.Remove3DFormats(in_features, {multipatch_materials}, {formats})
ParameterExplanationData Type
in_features

The multipatch feature class that was converted to a 3D object feature class.

Table View
multipatch_materials
(Optional)

Specifies whether the multipatch geometry will be visualized using material information from the 3D models or the texture and color information stored with the multipatch.

  • MULTIPATCH_WITH_MATERIALSThe multipatch geometry will be visualized using the textures, colors, effects, and materials associated with the 3D models. This is the default.
  • MULTIPATCH_WITHOUT_MATERIALSThe multipatch geometry will be visualized using the textures and colors defined for the multipatch.
Boolean
formats
[[formats],...]
(Optional)

Specifies the 3D model formats referenced by the 3D object feature layer that will be removed. Only the formats that have been linked to the input features can be specified.

  • FMT3D_DAEThe COLLADA format will be removed.
  • FMT3D_FBXThe Autodesk FilmBox format will be removed.
  • FMT3D_GLTFThe JSON Graphics Library Transmission format will be removed.
  • FMT3D_GLBThe binary Graphics Library Transmission format will be removed.
  • FMT3D_OBJThe Wavefront format will be removed.
String

Derived Output

NameExplanationData Type
updated_features

The updated input features.

Feature Layer

Code sample

Remove3DFormats example (Python window)

The following Python window script demonstrates how to use the Remove3DFormats tool in immediate mode.

import arcpy
arcpy.env.workspace = "C:/data/city_models.gdb"
arcpy.management.Remove3DFormats('Downtown_Buildings', 
                                 'MULTIPATCH_WITHOUT_MATERIALS', 
                                 ['FMT3D_DAE', 'FMT3D_OBJ'])

Environments

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics