Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

using a script file to insert blocks around a drum 1

Status
Not open for further replies.

jerjonsrud

Mechanical
Joined
May 15, 2002
Messages
2
Location
US
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
 
I would try
LIMITS OFF
and see if it helps. Maybe some block insertion points fall outside the drawing limits.
 
Dear jerjonsrud;

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

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

Jeremiah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top