All Frameworks  Class Hierarchy  This Framework  Indexes

SPAasm Global Function asmi_model_get_components


DECL_ASM outcome asmi_model_get_components(asm_model* model,
component_handle_list& components,
asm_get_options* get_opts= NULL,
AcisOptions* ao= NULL)
Returns a list of the components of a model by walking the model's assembly tree.

Role: This is a preferred query function for client code to use to unfold the assembly tree, as it correctly takes into account suppressed and over-ridden models. An options object allows client code to specify which components are returned. The default behavior is ASM_ALL, which includes all components, including the root component (corresponding to the model object).

Errors: NULL model pointer.

Effect: Read-only.

Journal: Not Available

Parameters:
model
model whose components are to be found.
components
returned list of entity_handles for components of the model.
get_opts
options object that specifies which components are to be returned.
ao
ACIS options.

This object is included in the file: asm_api.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.