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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Need Idea to Retrieve Feature frame symbol

PM_10505027
5-Regular Member

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PM_10505027
5-Regular Member
(To:YaroslavSin)

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

PM_10505027
5-Regular Member
(To:YaroslavSin)

Thank you YaroslavSin.,

           I have retreived by another method

 

Good job!

Feel free to share your method to the community.

PM_10505027
5-Regular Member
(To:YaroslavSin)

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.

 

 

Top Tags