API-Dokumentation > Features > Object ProFeature > Function ProFeaturePatternGet
Function ProFeaturePatternGet
Description
Gets the pattern object from a feature that is part of a pattern.
NOTE:
Because a feature can be part of both a group pattern and feature pattern, you must specify the pattern object for this function. Use the functions ProFeatureGroupStatusGet() and ProFeatureGrppatternStatusGet() to get the appropriate information. Alternatively, you can use the feature element tree to get the information.
Replacement in Object TOOLKIT:
Synopsis
#include <ProPattern.h>
ProFeaturePatternGet
(
ProFeature* pattern_feature
/* (In)
The input feature (part of a pattern).
*/
ProPatternClass pat_class
/* (In)
The pattern class
*/
ProPattern* p_pattern
/* (Out)
The pattern object
*/
)
Returns
The function successfully retrieved the pattern information.
The specified feature is invalid or is not part of a pattern.
Sample Code References
User Guide References
War dies hilfreich?