×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Purge blocks in slddrw???

Purge blocks in slddrw???

Purge blocks in slddrw???

(OP)
I have some notes with SWproperties saved as blocks that I insert into drawings. I made a change to one of them and resaved the block with the same name. When I insert it into a new drawing all is fine, but how can I purge the old blocks in existing drawings so the new one will work??

Thanks,
Tom

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

Do you see them in the tree? You should be able to select them and delete.

Chris
SolidWorks 07 4.0/PDMWorks 07
AutoCAD 06
ctopher's home (updated 04-21-07)

RE: Purge blocks in slddrw???

(OP)
That's it, Thanks. I guess deleting them from the drawing does not delete the definition. Thanks for the help

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

(OP)
One other thing, I know somebody mentioned this befor. How can I insert a carriage return in a property value? I have a desc value that is sometimes long winded.
Tom

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

If you inserted the block using the Link To File option, the block should update when the drawings are next opened.

If you did NOT insert the block using the Link To File option, you are SOL and will have to do it manually.

... unless an API guru knows of a way to scan all drawings to find an unlinked block with a specified name and replace it with a new version of itself with the same name. bugeyed

cheers

RE: Purge blocks in slddrw???

(OP)
CBL, that's another option I didn't realize was there. I have never checked this, but I probably should because my block should never be edited.

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

To enter a charriage return: press and hold the alt key, enter 0010 on the number pad and release the alt key.

The current version of SolidWorks has wrapping in the text boxes, so you may be able to get by without it.

Eric

RE: Purge blocks in slddrw???

(OP)
Example of my defined Block used in drawing details. But the Description property is too long

DET:  $PRPVIEW:"SW-File Name"
Desc: $PRPVIEW:"Description"
MATL: $PRPVIEW:"Material"
SIZE: $PRPVIEW:"Size"
QTY:  $PRPVIEW:"Quantity"  REQD

When I insert this block it extracts the property data directly from the model it hovers over in the drawing. Here is an Example of returned text from block defined above

DET:  309P_DTW04
Desc: WEDM Block Conditioning Fixture Components for Proposed Blades with Stamped Caps
MATL: A2 HDN & GRD
SIZE: AS SHOWN
QTY:  1  REQD

As you can see, the DESCRIPTION property is long winded, so how can I make it produce two lines of text? Will the ALT 0010 work in the block definition?

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

Can you explode the block after inserting it?
That may allow the block to behave like a regular annotation note which allows wrapping of text according to the size of the note area.

cheers

RE: Purge blocks in slddrw???

If you block has a single text box, then the alt 0010 in the description property should result in two lines.  You could also look into adjusting the width of the text box and see if it will auto wrap for you.  If you have a text box for each line, you might have problems with the second description line overlapping the material line.

Eric

RE: Purge blocks in slddrw???

(OP)
CBL, I'd rather not explode it because then if we make changes to the properties, the exploded block will not update.

EEnd, If I redefine the block with each property inside its own text box then maybe it will wrap as you have pointed out. I'll try that

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

RE: Purge blocks in slddrw???

If the annotation still has the "$PRPVIEW" links it should still update if the model is changed. If you change something in the block however, it will not.

cheers

RE: Purge blocks in slddrw???

Correction ... I just did a quick test and you don't need to explode the block. Just double clicking it allows re-sizing of the box and wrapping occurs. However, the wrap seems to make the actual description wrap below the Desc: text.

cheers

RE: Purge blocks in slddrw???

(OP)
Thanks everyone for your help, I ended up making two text boxes. One on the left for the labels. One on the right for all of the properties. I made the DESC for both the label and property to have two lines in the text box. this will work for almost all of my details. Then I can double click the block and adjust the size of the box to suit the DESC word wrap by dragging.

Here it is

DET:  309P_DTW04
DESC: WEDM Block Conditioning Fixture Components for
      Proposed Blades with Stamped Caps
MATL: A2 HDN & GRD
SIZE: AS SHOWN
QTY:  1


Thanks all for your help

Tom Malinski
http://www.okayind.com/
Dell Prec 670, Xeon 3.8,2GB Ram, Nvidia Quadra FX 3450/4000 SDI
SWorks Pro & PDMWorks 2007 SP3.0

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources