MirrorFeatures.createInput Method

Parent Object: MirrorFeatures
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/MirrorFeatures.h>

Description

Creates a MirrorFeatureInput object. Use properties and methods on this object to define the mirror you want to create and then use the Add method, passing in the MirrorFeatureInput object.

Syntax

"mirrorFeatures_var" is a variable referencing a MirrorFeatures object.

returnValue = mirrorFeatures_var.createInput(inputEntities, mirrorPlane)
"mirrorFeatures_var" is a variable referencing a MirrorFeatures object.

#include <Fusion/Features/MirrorFeatures.h>

returnValue = mirrorFeatures_var->createInput(inputEntities, mirrorPlane);
"mirrorFeatures_var" is a variable referencing a MirrorFeatures object.

returnValue = mirrorFeatures_var.createInput(inputEntities, mirrorPlane);

Return Value

Type Description
MirrorFeatureInput Returns the newly created MirrorFeatureInput object or null if the creation failed.

Parameters

Name Type Description
inputEntities ObjectCollection An ObjectCollection of the entities to mirror. The collection can contain BRepFace, PartFeature, BRepBody, or Occurrence objects. All of the entities provided must be the same type. For example, it must contain only bodies and can't contain both bodies and faces.

You can also mirror ConstructionPoint, ConstructionAxis, and ConstructionPlane objects. When mirroring any construction geometry, only one entity can be mirrored at a time, so the ObjectCollection must contain a single item.
mirrorPlane Base Input planar entity that defines the mirror plane. This can be either a planar face or a construction plane.

Samples

Name Description
mirrorFeatures.add Demonstrates the mirrorFeatures.add method by mirroring the selected body around the base X-Y construction plane.

Version

Introduced in version November 2014