BRepFaces Object

Derived from: Base Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/BRep/BRepFaces.h>

Description

BRepFace collection.

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().
item Function that returns the specified face using an index into the collection.

Properties

Name Description
count The number of faces in the collection.
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():

Accessed From

BaseFeature.faces, BossFeature.faces, BoundaryFillFeature.faces, BoxFeature.faces, BRepBody.faces, BRepEdge.faces, BRepFace.tangentiallyConnectedFaces, BRepLump.faces, BRepShell.faces, BRepVertex.faces, ChamferFeature.faces, CircularPatternFeature.faces, CoilFeature.faces, CombineFeature.faces, CopyPasteBody.faces, CustomFeature.faces, CutPasteBody.faces, CylinderFeature.faces, DeleteFaceFeature.faces, DraftFeature.faces, ExtendFeature.faces, ExtrudeFeature.endFaces, ExtrudeFeature.faces, ExtrudeFeature.sideFaces, ExtrudeFeature.startFaces, Feature.faces, FilletFeature.faces, FlangeFeature.faces, FlatPattern.faces, FlatPattern.sideFaces, FormFeature.faces, HoleFeature.endFaces, HoleFeature.faces, HoleFeature.sideFaces, LoftFeature.faces, LoftFeature.sideFaces, MeshFeature.faces, MeshReduceFeature.faces, MeshRemeshFeature.faces, MeshRepairFeature.faces, MeshShellFeature.faces, MeshSmoothFeature.faces, MirrorFeature.faces, MoveFeature.faces, OffsetFacesFeature.faces, OffsetFeature.faces, PatchFeature.faces, PathPatternFeature.faces, PipeFeature.endFaces, PipeFeature.faces, PipeFeature.sideFaces, PipeFeature.startFaces, RectangularPatternFeature.faces, RefoldFeature.faces, RemoveFeature.faces, ReplaceFaceFeature.faces, ReverseNormalFeature.faces, RevolveFeature.endFaces, RevolveFeature.faces, RevolveFeature.sideFaces, RevolveFeature.startFaces, RibFeature.faces, RipFeature.faces, RuledSurfaceFeature.faces, RuleFilletFeature.faces, ScaleFeature.faces, ShellFeature.faces, SilhouetteSplitFeature.faces, SphereFeature.faces, SplitBodyFeature.faces, SplitFaceFeature.faces, StitchFeature.faces, SurfaceDeleteFaceFeature.faces, SweepFeature.endFaces, SweepFeature.faces, SweepFeature.sideFaces, SweepFeature.startFaces, ThickenFeature.faces, ThreadFeature.faces, TorusFeature.faces, TrimFeature.faces, UnfoldFeature.faces, UnstitchFeature.faces, UntrimFeature.faces, WebFeature.faces

Samples

Name Description
Patch Feature API Sample Demonstrates creating a new patch feature.

Version

Introduced in version August 2014