Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ugly Plot Style names

IFRs

Petroleum
Nov 22, 2002
4,673
I have a few drawings that do not print some dimensions correctly.
I print to PDF using styles, all layers and objects use a style called Style 1 that uses Monochrome.stb
The dimensions are on the layer Dims whose plotstyle is set for Style 1
The dimensions are on the correct layer, properties show plot bylayer, text plot bylayer, etc.

The dmensions print their text the layer color, everything else is OK.
Lines, arrows, etc are black but the text is the layer color.

By exploding the dimension, I find that the text that does not print correctly is associated with a missing plot style.
This should be easy to fix - just make the new styles.
When I explode these dimensoins I find that the text is associated with a plot style "th as*"
The "*" is an illegal character so I can't make a new plot style with that name.

If it were one dimension, easy - just delete and make a new one.
However, the drawing has about 40 tabs and hundreds of individual (associative) dimensions.
My work-around is to change the color of layer Dims to 7 (white) and then it all works.
But I don't like that on my screen - each object class has a specific color I've been using since 1982 and I like my dimensions to be color 143.

Question:
How can I rename or replace a missing plot style with one that works or
How can I assign the text of dimensions to the correct plot style
 
Replies continue below

Recommended for you

Since it's looking for a *.STB file, what about making a copy of Monochrome.stb and naming it "th as1.stb"?
I don't know what the * does but in good ol' DOS it's a wildcard that allows for any filename with the first characters to fit.
Can't say I think it will work - but I'd try it just to see.
 
I will try that, thanks!
I'd really like to find a command or macro that would allow the deletion of a missing plotstyle while replacing it with one that is not missing.
Or a command / macro that re-assigns plotstyles to entities, that works for nested ones like a dimension.
Chprop (select) PLotstyle... does not work to change the text in an associative dimension...
 
Could you post a drawing with the offending dimension, I could see if some lisp magic could change the plot style of the text. I have limited rusty skills there.
 
Attached is a DWG inside a Zip file
Plot preview to Adobe and you'll see the dim text is blue.
It looks right but if you explode the dimension you can see that the plotstyle of the text is wrong.
I can make it work by changing the layer color to 7 but I'd rather make it right and get rid of the stupid plot style

Anything you can suggest would be greatly appreciated.
 

Attachments

  • Bad PlotStyle.zip
    109.8 KB · Views: 1
Something strange is happening with those dimensions. May have cropped in from a program other than AutoCAD?
I notice when copying a problem dimension, the copy does not have the issue.
So I suggest copying dimensions to the same location, then deleting the original, like below steps.

Perhaps you can isolate all dimensions, and do the operation on the group.

Command: CP
COPY
Select objects: 1 found
Select objects:
Current settings: Copy mode = Multiple
Specify base point or [Displacement/mOde] <Displacement>: 0,0
Specify second point or [Array] <use first point as displacement>:
Command: E
ERASE
Select objects: p
1 found
Select objects:
 

Part and Inventory Search

Sponsor