Skip to main content
10-Marble
July 17, 2023
Solved

Need Idea to Retrieve Feature frame symbol

  • July 17, 2023
  • 1 reply
  • 2645 views

Hello all,
Need an idea to retrieve GD&T Feature Frame symbol from 3D Notes into MS-Word document.

(Using VB API or J-Link)

PM_10505027_0-1689571121823.png

 

 

Best answer by PM_10505027

okk,

 

First u will takes the notes as string.

after use some regex that matches with GD&T symbols.

and also make some dictionary like this

PM_10505027_0-1690443499238.png

this dictionary is used for replace the Unicode with Symbols.

get iterate with string and regex .

if the string match with regex, it will retreive that Symbols.

 

 

1 reply

17-Peridot
July 19, 2023

1. regular expressions

 

2. using ProDtlnotelineTextsCollect()

Each line of note can contain numerous ProDtlnotetext.

For example (past this text to Note properties)

"UNLESS OTHERWISE SPECIFIED, RADII {1:XXX#1} {3:mm}"

{1:XXX#1} - this is ProDtlnotetext one

{3:mm} - this is ProDtlnotetext two

10-Marble
July 27, 2023

Thank you YaroslavSin.,

           I have retreived by another method

 

17-Peridot
July 27, 2023

Good job!

Feel free to share your method to the community.