api_dm_rm_multi_face
List of: Functions
Subjects: Deformable Surfaces
Contents: ACIS Deformable Modeling

Action: Separates a face from the deformable modeling multi-surface structure and marks it as a stand-alone deformable model. The face is not deleted.

Prototype: outcome api_dm_rm_multi_face (


ATTRIB_DM2ACIS* // sculpting data



attrib_dm2acis, // attribute


int tag, // face to add to




// deformable set


adm_options* adm_o // adm options


= NULL, //


AcisOptions* acisO // ACIS options such as



= NULL // version and journal


);

Includes: #include "kernel/acis.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "admhusk/ds2acis/ds2acis.hxx"

#include "admhusk/ds2acis/dsapi.hxx"

#include "admhusk/ds2acis/adm_options.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

Description: Removes the attributes from the target deformable model's FACE that mark it as a member of the multi-surface deformable modeling hierarchy modeled by attrib_dm2acis. The target deformable model's FACE is left with attributes that mark it as its own standalone deformable modeling hierarchy preserving all of its current tag information.

Errors: DS_API_NO_ATTRIB_DM2ACIS

The input attrib_dm2acis cannot be NULL



DS_API_NOT_IN_HIERARCHY

The input tag does not identify a deformable model within the attrib_dm2acis hierarchy.



DS_API_NOT_A_ROOT_SIBLING

The input tag must be a sibling of the root deformable model

Limitations: This function requires (as a precondition) that only queries have been called on the deformable modeling hierarchy since the last call to api_dm_commit_attrib_dm2acis.

Library: admhusk

Filename: adm/admhusk/ds2acis/dsapi.hxx

Effect: Changes model
PDF/ADM/07FN.PDF
HTM/DATA/ADM/ADM/07FN/0013.HTM