Object ProMech

Function ProMechBeamsectionExpressionGet


Description
Obtains the expression corresponding to 'type' of the beam section. Use ProMathExpressionEvaluate() to evaluate the expression.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechBeamSection.h>
ProErrorProMechBeamsectionExpressionGet(
ProMechSectionData data
/* (In)
The beam section data.
*/
ProMechBeamsectionPropertyType type
/* (In)
The property type.
*/
ProMechExpression expr
/* (Out)
The property value.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_NO_LICENSENo license was available to enable this function.
PRO_TK_GENERAL_ERRORA general error is encountered.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_E_NOT_FOUNDThis property type is not defined for this beam section.

Manual References:

  1. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  2. Creo Simulate: Items: Creo Simulate Beams: Sections, Sketched Sections, and General Sections
  3. Creo Simulate: Items: Creo Simulate Beams: Sections, Sketched Sections, and General Sections