cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Need Idea to Retrieve Feature frame symbol

PM_10505027
10-Marble

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

 

 

ACCEPTED SOLUTION

Accepted Solutions

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.

 

 

View solution in original post

4 REPLIES 4

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

Thank you YaroslavSin.,

           I have retreived by another method

 

Good job!

Feel free to share your method to the community.

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.

 

 

Announcements


Top Tags