hexagon logo

How to use the PCDMIS2016 HighlightFeature?

How to use the PCDMIS2016 - PartProgram HighlightFeature?


PCDLRN.Application pcdapp =new PCDLRN.Application();
            PCDLRN.PartProgram pcdpart = pcdapp.ActivePartProgram;;
            pcdpart.HighlightFeature("PNT1" ,true ,true );
            pcdpart.RefreshPart();

PCDMIS2016 PNT1 inside is not responding.
Parents
  • If the purpose of your intent is to easily find a feature in the graphics screen why not use ".ShowIDonCad"? I'm guessing that is what you would like to do as whenever a dimension is out of tolerance operators like to right click -> feature -> highlight in Cad to visually see it or identify it on the part model quicker.

    The ability to "record" macros as in Excel would speed things up in PcDmis...
  • There seems to be missing functions for a few items related to your request, someone else just asked how could you "hide" features but there is no control for that either, well at least I don't think so as I didn't come across anything.

    I'm sure you can't highlight multiple features with a mouse, when you have one highlight the other becomes un-highlighted. Your best bet is probably to programmagically turn off all labels and then turn on those that are needed.
Reply
  • There seems to be missing functions for a few items related to your request, someone else just asked how could you "hide" features but there is no control for that either, well at least I don't think so as I didn't come across anything.

    I'm sure you can't highlight multiple features with a mouse, when you have one highlight the other becomes un-highlighted. Your best bet is probably to programmagically turn off all labels and then turn on those that are needed.
Children
No Data