MCOMMAND

Detailed Description

Private.

Modeling command IDs.

See also
SendModelingCommand() MDATA for the container IDs that can be set as options for a command.

Macros

#define MCOMMAND_SPLINE_HARDINTERPOLATION
 
#define MCOMMAND_SPLINE_SOFTINTERPOLATION
 
#define MCOMMAND_SPLINE_REORDER
 
#define MCOMMAND_SPLINE_REVERSE
 
#define MCOMMAND_SPLINE_MOVEDOWN
 
#define MCOMMAND_SPLINE_MOVEUP
 
#define MCOMMAND_SPLINE_JOINSEGMENT
 
#define MCOMMAND_SPLINE_BREAKSEGMENT
 
#define MCOMMAND_SPLINE_EQUALLENGTH
 
#define MCOMMAND_SPLINE_EQUALDIRECTION
 
#define MCOMMAND_SPLINE_LINEUP
 
#define MCOMMAND_SPLINE_CREATEOUTLINE
 
#define MCOMMAND_SPLINE_PROJECT
 
#define MCOMMAND_SPLINE_ADDPOINT
 
#define MCOMMAND_SELECTALL
 
#define MCOMMAND_DESELECTALL
 
#define MCOMMAND_SELECTINVERSE
 
#define MCOMMAND_SELECTCONNECTED
 
#define MCOMMAND_SELECTGROW
 
#define MCOMMAND_SELECTSHRINK
 
#define MCOMMAND_SELECTPOINTTOPOLY
 
#define MCOMMAND_SELECTPOLYTOPOINT
 
#define MCOMMAND_SELECTADJACENT
 
#define MCOMMAND_GENERATESELECTION
 
#define MCOMMAND_HIDESELECTED
 
#define MCOMMAND_HIDEUNSELECTED
 
#define MCOMMAND_HIDEINVERT
 
#define MCOMMAND_UNHIDE
 
#define MCOMMAND_REVERSENORMALS
 
#define MCOMMAND_ALIGNNORMALS
 
#define MCOMMAND_SPLIT
 
#define MCOMMAND_TRIANGULATE
 
#define MCOMMAND_UNTRIANGULATE
 
#define MCOMMAND_DELETE
 
#define MCOMMAND_OPTIMIZE
 
#define MCOMMAND_DISCONNECT
 
#define MCOMMAND_MAKEEDITABLE
 
#define MCOMMAND_MIRROR
 
#define MCOMMAND_MATRIXEXTRUDE
 
#define MCOMMAND_SUBDIVIDE
 
#define MCOMMAND_EXPLODESEGMENTS
 
#define MCOMMAND_KNIFE
 
#define MCOMMAND_CURRENTSTATETOOBJECT
 
#define MCOMMAND_JOIN
 
#define MCOMMAND_CONVERTSELECTION
 
#define MCOMMAND_EDGE_TO_SPLINE
 
#define MCOMMAND_BREAKPHONG
 
#define MCOMMAND_UNBREAKPHONG
 
#define MCOMMAND_PHONGTOSELECTION
 
#define MCOMMAND_MELT
 
#define MCOMMAND_RESETSYSTEM
 
#define MCOMMAND_MIRRORSELECTION
 
#define MCOMMAND_UVUNWRAP
 
#define MCOMMAND_UVWELDRELAX
 
#define MCOMMAND_AUTOMATICUV
 
#define MCOMMAND_PACKUVRASTERIZED
 

Macro Definition Documentation

◆ MCOMMAND_SPLINE_HARDINTERPOLATION

#define MCOMMAND_SPLINE_HARDINTERPOLATION

Hard interpolation.

◆ MCOMMAND_SPLINE_SOFTINTERPOLATION

#define MCOMMAND_SPLINE_SOFTINTERPOLATION

Soft interpolation.

◆ MCOMMAND_SPLINE_REORDER

#define MCOMMAND_SPLINE_REORDER

Reorder.

◆ MCOMMAND_SPLINE_REVERSE

#define MCOMMAND_SPLINE_REVERSE

Reverse sequence.

◆ MCOMMAND_SPLINE_MOVEDOWN

#define MCOMMAND_SPLINE_MOVEDOWN

Move down sequence.

◆ MCOMMAND_SPLINE_MOVEUP

#define MCOMMAND_SPLINE_MOVEUP

Move up sequence.

◆ MCOMMAND_SPLINE_JOINSEGMENT

#define MCOMMAND_SPLINE_JOINSEGMENT

Join segment.

◆ MCOMMAND_SPLINE_BREAKSEGMENT

#define MCOMMAND_SPLINE_BREAKSEGMENT

Break segment.

◆ MCOMMAND_SPLINE_EQUALLENGTH

#define MCOMMAND_SPLINE_EQUALLENGTH

Equal tangent length.

◆ MCOMMAND_SPLINE_EQUALDIRECTION

#define MCOMMAND_SPLINE_EQUALDIRECTION

Equal tangent direction.

◆ MCOMMAND_SPLINE_LINEUP

#define MCOMMAND_SPLINE_LINEUP

Line up.

◆ MCOMMAND_SPLINE_CREATEOUTLINE

#define MCOMMAND_SPLINE_CREATEOUTLINE

Create outline: MDATA_SPLINE.

◆ MCOMMAND_SPLINE_PROJECT

#define MCOMMAND_SPLINE_PROJECT

◆ MCOMMAND_SPLINE_ADDPOINT

#define MCOMMAND_SPLINE_ADDPOINT

◆ MCOMMAND_SELECTALL

#define MCOMMAND_SELECTALL

Select all.

◆ MCOMMAND_DESELECTALL

#define MCOMMAND_DESELECTALL

Deselect all.

◆ MCOMMAND_SELECTINVERSE

#define MCOMMAND_SELECTINVERSE

Invert selection.

◆ MCOMMAND_SELECTCONNECTED

#define MCOMMAND_SELECTCONNECTED

Select connected.

◆ MCOMMAND_SELECTGROW

#define MCOMMAND_SELECTGROW

Grow selection.

◆ MCOMMAND_SELECTSHRINK

#define MCOMMAND_SELECTSHRINK

Shrink selection.

◆ MCOMMAND_SELECTPOINTTOPOLY

#define MCOMMAND_SELECTPOINTTOPOLY

Polygon selection from points.

◆ MCOMMAND_SELECTPOLYTOPOINT

#define MCOMMAND_SELECTPOLYTOPOINT

Point selection from polygons.

◆ MCOMMAND_SELECTADJACENT

#define MCOMMAND_SELECTADJACENT

Select adjacent.

◆ MCOMMAND_GENERATESELECTION

#define MCOMMAND_GENERATESELECTION

Generate selection.

◆ MCOMMAND_HIDESELECTED

#define MCOMMAND_HIDESELECTED

Hide selected.

◆ MCOMMAND_HIDEUNSELECTED

#define MCOMMAND_HIDEUNSELECTED

Hide unselected.

◆ MCOMMAND_HIDEINVERT

#define MCOMMAND_HIDEINVERT

Hide invert.

◆ MCOMMAND_UNHIDE

#define MCOMMAND_UNHIDE

Unhide.

◆ MCOMMAND_REVERSENORMALS

#define MCOMMAND_REVERSENORMALS

Reverse normals: MDATA_REVERSENORMALS.

◆ MCOMMAND_ALIGNNORMALS

#define MCOMMAND_ALIGNNORMALS

Align normals: MDATA_ALIGNNORMALS.

◆ MCOMMAND_SPLIT

#define MCOMMAND_SPLIT

Split.

◆ MCOMMAND_TRIANGULATE

#define MCOMMAND_TRIANGULATE

Triangulate.

◆ MCOMMAND_UNTRIANGULATE

#define MCOMMAND_UNTRIANGULATE

Untriangulate: MDATA_UNTRIANGULATE.

◆ MCOMMAND_DELETE

#define MCOMMAND_DELETE

Delete.

◆ MCOMMAND_OPTIMIZE

#define MCOMMAND_OPTIMIZE

Optimize: MDATA_OPTIMIZE.

◆ MCOMMAND_DISCONNECT

#define MCOMMAND_DISCONNECT

◆ MCOMMAND_MAKEEDITABLE

#define MCOMMAND_MAKEEDITABLE

Make editable (returns object).

◆ MCOMMAND_MIRROR

#define MCOMMAND_MIRROR

Mirror: MDATA_MIRROR.

◆ MCOMMAND_MATRIXEXTRUDE

#define MCOMMAND_MATRIXEXTRUDE

Matrix extrude.

◆ MCOMMAND_SUBDIVIDE

#define MCOMMAND_SUBDIVIDE

Subdivide: MDATA_SUBDIVIDE.

◆ MCOMMAND_EXPLODESEGMENTS

#define MCOMMAND_EXPLODESEGMENTS

Explode segments.

◆ MCOMMAND_KNIFE

#define MCOMMAND_KNIFE

Knife: MDATA_KNIFE.

◆ MCOMMAND_CURRENTSTATETOOBJECT

#define MCOMMAND_CURRENTSTATETOOBJECT

Current state to object (returns object): MDATA_CURRENTSTATETOOBJECT.

◆ MCOMMAND_JOIN

#define MCOMMAND_JOIN

Join (returns object): MDATA_JOIN_MERGE_SELTAGS

Note
The objects to join must be children of a parent object. Example:
objectA->InsertUnder(nullobject);
objectB->InsertUnder(nullobject);
cd.op = nullobject;
cd.doc = doc;
Bool SendModelingCommand(Int32 command, ModelingCommandData &data)
Definition: c4d_baseobject.h:225
static BaseObject * Alloc(Int32 type)
#define MCOMMAND_JOIN
Definition: ge_prepass.h:1622
#define Onull
Null.
Definition: ge_prepass.h:1068
const char * doc
Definition: pyerrors.h:226
A helper object for SendModelingCommand().
Definition: operatingsystem.h:815
BaseObject * op
The input object. Use arr for multiple objects.
Definition: operatingsystem.h:828
BaseDocument * doc
Definition: operatingsystem.h:826

◆ MCOMMAND_CONVERTSELECTION

#define MCOMMAND_CONVERTSELECTION

Convert selection: MDATA_CONVERTSELECTION.

◆ MCOMMAND_EDGE_TO_SPLINE

#define MCOMMAND_EDGE_TO_SPLINE

Edge to spline.

◆ MCOMMAND_BREAKPHONG

#define MCOMMAND_BREAKPHONG

Break phong.

◆ MCOMMAND_UNBREAKPHONG

#define MCOMMAND_UNBREAKPHONG

Unbreak phong.

◆ MCOMMAND_PHONGTOSELECTION

#define MCOMMAND_PHONGTOSELECTION

Phong to selection.

◆ MCOMMAND_MELT

#define MCOMMAND_MELT

Melt.

◆ MCOMMAND_RESETSYSTEM

#define MCOMMAND_RESETSYSTEM

Reset System: MDATA_RESETSYSTEM.

◆ MCOMMAND_MIRRORSELECTION

#define MCOMMAND_MIRRORSELECTION

Mirror Selection: MDATA_MIRRORSELECTION.

◆ MCOMMAND_UVUNWRAP

#define MCOMMAND_UVUNWRAP

UV Unwrap: MDATA_UVUNWRAP.

◆ MCOMMAND_UVWELDRELAX

#define MCOMMAND_UVWELDRELAX

UV Weld and Relax: MDATA_UVWELDRELAX.

◆ MCOMMAND_AUTOMATICUV

#define MCOMMAND_AUTOMATICUV

Automatic UV unwrap and pack: MDATA_AUTOMATICUV.

◆ MCOMMAND_PACKUVRASTERIZED

#define MCOMMAND_PACKUVRASTERIZED

Pack UV rasterized: MDATA_AUTOMATICUV