Jump to content

Script File Headache


3DG

Recommended Posts

:?Hi, I'm currently using Autocad 2011 and 2012. I'm working on this script file for school and it's confusing. Maybe you guys can help me out.The way the script is set up, this green circle with a hatch pattern is supposed to sit inside this red rectangle, but I haven't gotten it to work. I typed it exactly as you see it in Notepad, saved it as a linetype file, and tried to run it,but it either shows just the rectangle or keeps asking for the radius of the circle. Here it is: filedia 0 color red rectangle 0,10 color green circle 6,6.7, hatch ansi31 ltscale 48 zoom .8x Any ideas?

Edited by 3DG
provided additional info
Link to comment
Share on other sites

Welcome to CADTutor!

 

This questions is probably better placed in The CUI, Hatches, Linetypes, Scripts & Macros forum.

 

As to your question, you haven't provided enough information.

 

For example:

 

._filedia
0
._-color
1
._rectangle
0,10
[color=red]<SecondPointHere>[/color]
._-color
3
._circle
6,6.7
[color=red]<CircleRadiusHere>[/color]
._-hatch
s
(entlast)
p
ansi31
[color=red]<PatternScaleHere>
<PatternRotationHere>[/color]
._ltscale
48
._zoom
0.8x

 

** Note the additional Enter (return), after the last line.

 

Also, for future posts, please be sure to read this.

 

Hope this helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...