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 1

IFRs

Petroleum
Nov 22, 2002
4,675
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:
 
I tried copy the objects, see attached - it did not remove the bad plot style from the text in the dimension.

The text still prints in color and the telltale is that when you explode the dimension the text plotstyle for the text is FR LAD* no matter what plot style the unexploded dimension uses.

Can you confirm the telltale above or send send a file that has the copied dimensions that work?
 

Attachments

  • Bad PlotStyle2.zip
    110.7 KB · Views: 1
Yes I see the copies you created still have the bad plot style; doesn't fix them like it does for me.
Upon opening the file I get the message the file was created in other than AutoCAD, maybe that created the problem.
Attached is a copy of drawing for which I used the "copy and delete original" method, and it appears to have fixed the issue.
Also attached is a simple lisp routine, for fixing (hopefully) one dimension at a time.
Change the "txt" extension to "lsp". Load it by drag/drop, or "appload".
If that works for you, I could modify it to allow group selections.
 

Attachments

  • Bad PlotStyle2_Dims Copied.zip
    390 KB · Views: 0
  • Dim_UPD.txt
    304 bytes · Views: 0
Yes, I'm using Bricscad, having gotten tired of Autodesk's licensing scheme.
I'll try the copy method in the latest version of Bricscad and see if that helps.
Thanks for your efforts!!!
 
Great program... I've been using it for nearly 20 years... as good as AutoCAD, at the price of Autocad LT.
 

Part and Inventory Search

Sponsor