×
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

Solidworks task scheduler Run Custom Task

Solidworks task scheduler Run Custom Task

Solidworks task scheduler Run Custom Task

(OP)
We are having to make some changes to our title block and must reload the title block on several hundred drawings.  Can I do this with the task scheduler run custom task and how would I do this.

TAP

RE: Solidworks task scheduler Run Custom Task

It depends on the "change" you want to make. So, the answer is MAYBE. I can change the content of my title blocks by re-defining certain CUSTOM PROPERTIES. If that's really what you need to do - then YES.
Can you be more specific?

SolidWorks 2005 SP04.0 SpaceBall 400 FLX Microsoft Intellimouse Explorer Windows 2000 Professional Lava Lamp

RE: Solidworks task scheduler Run Custom Task

SBaugh, you may want to take a look again, Task Scheduler will allow for a Custom Task to be schedule and perform certain operations as specified in a macro or custom file.  This should allow tap90291 to create a macro or custome script for the operation needed and schedule it with Task Scheduler.  I haven't used it myself, but do know of folks that have had success with these types of operations.

RE: Solidworks task scheduler Run Custom Task

I started this post with a nice macro to do what you're asking until I realized you can do everything with the task scheduler in 2005 - d'oh!

This assumes that your title block is based on custom properties of the associated model (part or assembly) or drawing.

1) Use the "Update Custom properties" task to modify or add the appropriate custom properties to the model files.

2) Use the "Update Files" task to update all the appropriate drawings.

The next time you open any one of the affected drawings, it should show the new custom properties.

RE: Solidworks task scheduler Run Custom Task

Thanks sworks!

I didn't notice that before.

I see that they do have "Run Custom task", but I still don't see how, what he wants to do will work easily.

However engAlright is on the right trail.

Regards,

Scott Baugh, CSWP
3DVision Technologies

www.3dvisiontech.com
www.scottjbaugh.com
FAQ731-376

RE: Solidworks task scheduler Run Custom Task

(OP)
Scott that is the question I am after, how can I reload a edited title block via the SW task scheduler.  I was hoping the run custom task is capable of doing this, and how would I go about it.

TAP

RE: Solidworks task scheduler Run Custom Task

(OP)
Oh by the way, our entire office is being required to do this, mostly in ACAD, but we are talking about several thousand drawings across many different units.  

TAP

RE: Solidworks task scheduler Run Custom Task

You can definatly use this to "re-load" custom properties into your files. But - be advised - it actualy will open each file - one at a time. In other words - it's gosh-darn slow. So run a test on a few files to make sure it works. Then start the big task before you leave for the day & let it run. It'd also be a gosh-darn good idea to make backups of all the files first.

SolidWorks 2005 SP04.0, SpaceBall 400 FLX, Microsoft Intellimouse Explorer, Windows 2000 Professional & a Lava Lamp

RE: Solidworks task scheduler Run Custom Task

tap90291,

To re-iterate, are your title blocks linked to Custom properties of the models or drawings, or are they just notes that were filled in manually?

If they are based on custom props, the procedure in my post above will work, but if they're notes you will be looking at writing a custom macro to do it.

RE: Solidworks task scheduler Run Custom Task

BTW, if you wanted to get fancy and your AutoCAD titleblocks are based on attributes, you could use a custom task with the solidworks task scheduler to fill those out automatically too.

The custom task would accept the autocad file location and new title block values and parameters, then would use the AutoCAD VBA to open the drawing, write the new attributes, redraw then save and close the drawing.

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