For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

how to get the lable?

rui1314's picture
Forums: 

when i am loading a step ,I interactive select faces,how can i get the faces` lable,such as #152,#153,#154,#155?
some information from the step:
#152=ADVANCED_FACE('',(#342),#268,.T.);
#153=ADVANCED_FACE('',(#343),#269,.T.);
#154=ADVANCED_FACE('',(#344),#270,.T.);
#155=ADVANCED_FACE('',(#345),#271,.T.);
I get some code from the helping document:
Standard_CString label = ‘#...’;
StepData_StepModel model = reader.StepModel();
rank = model->NextNumberForLabe(label, 0,Standard_False);