ACAPI_​AnalyticalModel_​CreateElementFromSegmentedSurfaceMember

Creates an element from the Structural Analytical Model Surface Member segments.

    GSErrCode  ACAPI_AnalyticalModel_CreateElementFromSegmentedSurfaceMember (
        const GS::Array<API_AnalyticalSurfaceMember>&  api_surfaceMember,
        const GS::UniString&                           favoriteName,
        API_Guid*                                      elemGuid,
        API_ImportIdMappingType*                       idMapping = nullptr
    );

 

Parameters

api_surfaceMember
[in] The Surface Member to create the element from.
favoriteName
[in] The name of the Favorite Element which contains the settings for the new element.
elemGuid
[out] The unique identifier of the created element.
idMapping
[out] An optional parameter for the mapping between Segment Surface Member edge&vertex ID and generated Surface Element Member Part Reference.

 

Return Values

NoError
The function has completed with success.

For other common API errors see the API Errors document.

 

Requirements

Version: API 24 or later
Header: ACAPinc.h

 

See Also

API Functions