Skip to main content
10-Marble
Jul 17, 2023 5:20 AM UTC
Solved

Need Idea to Retrieve Feature frame symbol

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

 

 

10-Marble
Jul 27, 2023 7:39 AM UTC

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.

 

 

4 replies

17-Peridot
Jul 19, 2023 7:25 AM UTC

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

Translate
10-Marble
Jul 27, 2023 7:07 AM UTC

Thank you YaroslavSin.,

           I have retreived by another method

 

Translate
17-Peridot
Jul 27, 2023 7:12 AM UTC

Good job!

Feel free to share your method to the community.

Translate