×
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

using a script file to insert blocks around a drum

using a script file to insert blocks around a drum

using a script file to insert blocks around a drum

(OP)
I use microsoft works spreadsheet to generate points to insert different blocks around a drum.  I have to insert around 100 blocks of 20 different styles.  The problem that I am having is that whenever I change my view and run script it does not put the blocks according to the ucs.  I have no problem with it running I just have a problem with the insertion point.  Many times it will not plot a point with a negative number on the z axis.  It loads the right blocks but when it rotates them sometimes it does it right and sometimes it don't.  It consistently put the blocks in the wrong place for the preset views but it is different for every view.  Is there a setting that I am missing or is my computer too slow to handle that much memory usage.  I am running a 900 MHZ with 384MB of memory.  I also have a 60GB hard drive.  A sample script line looks like this


-insert joystrap rotate 2 -0.5933,16.9896,-54.75 1 1
-insert joystrap rotate 30 -8.5000,14.7224,-58.75 1 1
-insert joystrap rotate 58 -14.4168,9.0086,-62.5 1 1
-insert joystrap rotate 182 0.5933,-16.9896,-54.75 1 1
-insert joystrap rotate 210 8.5000,-14.7224,-56.75 1 1
-insert joystrap rotate 238 14.4168,-9.0086,-60.75 1 1

Any help is much appreciated

RE: using a script file to insert blocks around a drum

I would try
LIMITS OFF
and see if it helps. Maybe some block insertion points fall outside the drawing limits.

RE: using a script file to insert blocks around a drum

Dear jerjonsrud;

Try turning all the osnaps off. Sounds like they are grabbing your blocks and running off with them.

Regards Adrian

RE: using a script file to insert blocks around a drum

(OP)
Adrian2 you are a genius.  That was exactly the problem.  I turned the object snaps off and it ran beautifully.  Thank so much.  

Jeremiah

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