Skip to main content
2-Explorer
May 14, 2019 11:52 AM UTC
Question

Highlight section dimension using protoolkit

Hello

 

We need to highlight specific dimension from sketch of extrude. How to highlight the same?

 

If we go through feature dimension visit, ProFeatureDimensionVisit() we can get dimension handle which can be converted to selection and then we can use ProSelectionHighlight(). Issue with this approach is the identification of dimension type. Whether dimension is section dimension or not.

 

Another way is to get section from feature using ProFeatureSectionCopy(). Post this, we can get section Dimension IDs using ProSecdimIdsGet(). But here we are not able to get handler of section dimension to convert it to selection object to highlight the same.

 

Any thought would be of great help.

 

We are having Creo 4.0 M030.

 

Feel free to ask for any clarification.

 

Regards

Ketan

15 replies

2-Explorer
May 21, 2019 10:29 AM UTC

I am still unable to find a way ahead for this. Any hint would also be helpful.

Translate
FV_01
May 21, 2019 11:52 AM UTC

ProSectionDimensionIdsGet

Translate
2-Explorer
May 21, 2019 12:12 PM UTC

that I already used. How to get selection of dimension handler? Sec dimension ID is only available, not dimension handler.

Translate