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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Controlling .DXF file using Notepad

sgunnam
12-Amethyst

Controlling .DXF file using Notepad

Hi all,

I'm trying to control the TEXT extruded on the CREO Model or TEXT Printed on the drawing using notepad.

Creo Model - extruded a rectangular box with some title on the top surface.

unnamed.png

Trial 1: I tried saving the CREO model into .dxf file and launch the .dxf file using notepad to see if I can control the text. But, it was all numbers and I don't see any text (i.e., TEST) inside the .dxf file when I launch it using notepad. My plan is to control the dxf while modifying the text inside notepad. 

 

Trail 2: I tried saving the drawing into .dxf file and did the same thing, launching it using notepad to see if I can control the text but of no luck. I do make sure the following things, while exporting the drawing into .dxf 

image 2.png

Does anyone have any ideas to make this happen. The reason to control the dxf is because, the end application will only be able to read the .dxf files generated by creo and if someone wants to make changes to the text written inside the .dxf file, I need to figure out a way to make it possible. 

 

Any help would be appreciated.

1 REPLY 1
KenFarley
21-Topaz I
(To:sgunnam)

Text used to cut the part or as a cosmetic groove, etc. is not stored in a DXF file as "text" that you can see. It's just represented (apparently) as geometric data, probably with line segments. There isn't a way to do what you want to do, except to modify the Creo model then save the dxf file with the new text, etc.

You could make it slightly easier on yourself by controlling the text string with a parameter instead of "dumb" text in the feature, so you just have to change the parameter, regenerate, and your textual protrusion updates accordingly. Otherwise you have to redefine the feature with a lot more clicking and typing.

Top Tags