SelectionFilters Object

Derived from: Base Object
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/SelectionFilters.h>

Description

Provides access to the various filter settings for selections.

Methods

Name Description
classType

Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType().

Properties

Name Description
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
objectType This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.

It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType():

Values

Name Value Description
Bodies "Bodies" Select all B-Rep bodies.
CAMFolder "CAMFolder" Select CAMFolder.
Canvases "Canvases" Select canvases.
CircularEdges "CircularEdges" Select circular B-Rep edges.
ConicalFaces "ConicalFaces" Select conical B-Rep faces.
ConstructionLines "ConstructionLines" Select construction lines (axes).
ConstructionPlanes "ConstructionPlanes" Select construction planes.
ConstructionPoints "ConstructionPoints" Select construction points.
CustomGraphics "CustomGraphics" Select custom graphics entities.
CylindricalFaces "CylindricalFaces" Select cylindrical B-Rep faces.
Decals "Decals" Select decals.
Edges "Edges" Select B-Rep edges of any shape.
EllipticalEdges "EllipticalEdges" Select elliptical B-Rep edges.
FaceGroups "FaceGroups" Select face groups of meshes.
Faces "Faces" Select B-Rep faces of any shape.
Features "Features" Select features of all types.
JointOrigins "JointOrigins" Select joint origins.
Joints "Joints" Select joints.
LinearEdges "LinearEdges" Select linear B-Rep edges.
MeshBodies "MeshBodies" Select mesh bodies.
NCProgram "NCProgram" Select NCProgram.
NonTangentEdges "NonTangentEdges" Select B-Rep edges whose faces it joins are not tangent along the edge.
Occurrences "Occurrences" Select occurrences.
Operation "Operation" Select Operation.
OperationBase "OperationBase" Select OperationBase.
PlanarFaces "PlanarFaces" Select planar B-Rep faces.
Profiles "Profiles" Select sketch profiles.
RootComponents "RootComponents" Select root components.
Setup "Setup" Select Setup.
SketchCircles "SketchCircles" Select sketch circles.
SketchConstraints "SketchConstraints" Selects sketch geometric and dimensions constraints.
SketchCurves "SketchCurves" Select sketch curves of any shape.
Sketches "Sketches" Select sketches.
SketchLines "SketchLines" Select sketch lines.
SketchPoints "SketchPoints" Select sketch points.
SolidBodies "SolidBodies" Select solid B-Rep bodies.
SolidFaces "SolidFaces" Select faces from a solid B-Rep body.
SphericalFaces "SphericalFaces" Select spherical B-Rep faces.
SplineFaces "SplineFaces" Select spline (NURBS) B-Rep faces.
SurfaceBodies "SurfaceBodies" Select B-Rep bodies that are not closed.
SurfaceFaces "SurfaceFaces" Select faces from a B-Rep body that has openings.
TangentEdges "TangentEdges" Select B-Rep edges whose faces it joins are tangent along the edge.
Texts "Texts" Select sketch text.
ToroidalFaces "ToroidalFaces" Select toroidal B-Rep faces.
UserCoordinateSystems "UserCoordinateSystems" Select user coordinate systems.
Vertices "Vertices" Select B-Rep vertices.
VolumetricModel "VolumetricModel" Select volumetric model.

Version

Introduced in version May 2024