Script File for Block Insertion (Points) Won't Plot To Proper Coordinates

Script File for Block Insertion (Points) Won't Plot To Proper Coordinates

elyuzumaki
Participant Participant
1,440 Views
3 Replies
Message 1 of 4

Script File for Block Insertion (Points) Won't Plot To Proper Coordinates

elyuzumaki
Participant
Participant

Hello! This is my first time posting in the AutoCAD forum and hoping someone could help me. I really can't figure this out.

 

I have a script file (.scr) that has all the points I want to show in the drawing. This file includes the name, x, y and z values of the points. When I execute the script command, the points plot successfully. The script uses a block for all the points. Some points would plot at the right coordinates but NOT all. I clearly don't get why it misses some points.. Is there a limit to a script file? Or is there a setting I must set before doing so? At first I thought maybe it's the coding from the excel file, before I paste it to notepad to create the .scr file.. or even redefining the  block when inserted in CAD.. I'm really clueless.

 

I read countless forum solutions but still can't find any.. If anyone could help me, I would greatly appreciate it. Please and thank you!

0 Likes
Accepted solutions (1)
1,441 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

It seems to me that you need to turn off OSNAPS before you run the script. Use F3, or more systematically, tick this option...

 

Z9E3zK5E_0-1606898719486.png

 

Message 3 of 4

cadffm
Consultant
Consultant

the current setting from the picture, not the red marked.

 

Or add it to your script: 

Osnapcoord 1

Sebastian

Message 4 of 4

elyuzumaki
Participant
Participant

Hello! Thank you very much! I figured it out this morning. I appreciate your response! It means everything. I’m sure it’ll help someone else. Cheers!! 😊

0 Likes