Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
How can I control the spacing of dashes in phantom, centerline, hidden, and similar lines when exporting a PDF? Currently, the spacing is so wide that some non-solid lines look solid in the PDF. I am running Creo 2.0.
Solved! Go to Solution.
Mike,
I realized that I used Creo Parametric 2.0 M160 when I created my video. In this version the option line_style_standard CTRLFONT number works well.
Then I tested Creo Parametric 2.0 M070. In this version the option line_style_standard CTRLFONT number does not work! It looks like your Creo Parametric 2.0 M120 has the same problem as M070.
Then I made some investigation and carefully read Axis Display Options help page. You can find there the following sentence:
Axes that are set to CTRLFONT actually are shown as CTRLFONT_S_L or CTRLFONT_L_L, depending on their orientation.
So I went back to M070 and tried ... line_style_standard CTRLFONT_L_L number ... and it worked!
Please test line_style_standard CTRLFONT_L_L number and let me know .
Martin Hanak
Mike,
You may try creating pen table and use that for PDF export using config option pdf_use_pentable as yes.
Document for pen table file is available at http://support.ptc.com/cs/cs_24/howto/plt522/plt522.htm
Mahesh,
I believe a pen table will only control the thickness of lines, not the spacing of the dashes and spaces.
Mike
Mike,
Yes, pen table will control thickness, this can use to control line pattern as well.
From http://support.ptc.com/cs/cs_24/howto/plt522/plt522.htm#pattern
Mahesh,
Thank you for pointing me to this resource. After reading it through, I am still a bit unclear on how a pen table would function in certain situations. If you could answer a couple more questions about them, it would help me immensely.
How do I use a pen table to control the attributes all these types of lines here that I don't see in the Default Pen Mapping Table at the link you provided?
Thanks,
Mike
Martin,
This seems like it should work, but for some reason changing the line_style_length parameter seems to have no effect on the PDF output no matter what I set it to. I see in the video that you can see the result of changing this parameter in the drawing view even before you export the PDF. I don't even get that.
Mike
Mike,
install http://www.screencast-o-matic.com software and made a video showing your actions. I can watch it and check your steps.
You can also upload your testing Creo files.
Martin Hanak
Martin,
Attached is a video showing the actions I'm taking. Also included are the part and drawing files I used to test with.
Mike
Mike,
I realized that I used Creo Parametric 2.0 M160 when I created my video. In this version the option line_style_standard CTRLFONT number works well.
Then I tested Creo Parametric 2.0 M070. In this version the option line_style_standard CTRLFONT number does not work! It looks like your Creo Parametric 2.0 M120 has the same problem as M070.
Then I made some investigation and carefully read Axis Display Options help page. You can find there the following sentence:
Axes that are set to CTRLFONT actually are shown as CTRLFONT_S_L or CTRLFONT_L_L, depending on their orientation.
So I went back to M070 and tried ... line_style_standard CTRLFONT_L_L number ... and it worked!
Please test line_style_standard CTRLFONT_L_L number and let me know .
Martin Hanak
That did the trick. Thank you so much!
Mike
Long time lurker, first time poster. Martin your posts have been invaluable to me over the years. Please keep it up.
Small correction: line_style_standard should be line_style_length
Creo's inability to do WYSIWYG for PDF linefonts has been the bane of my existence forever. The issue I have now is that the on-screen linefont display is very dense. Is there a way to counteract this?
Here are the options I set for my company (English units):
line_style_length CTRLFONT_S_L 0.25
line_style_length CTRLFONT_L_L 0.25
line_style_length DASHFONT 0.05
line_style_length DOTFONT 0.05
line_style_length PHANTOMFONT 0.25