How to Write and Load a Script File in AutoCAD

Download ArticleDownload Article

You have huge number of data and you want to draw a profile in MS-EXCEL, but you don't want to enter values of data repeatedly. Instead, write a script file and drag it to AutoCAD 3D working pan to get your job done. Same procedure works for AutoCAD 2D modelling too.

  1. How.com.vn English: Step 1 Open a new notepad file.
    You can do this by clicking on Start -> Run, write notepad and hit Enter.
  2. How.com.vn English: Step 2 Copy and paste...
    Copy and paste the data you need to plot in AutoCAD from the source file where you have calculated.
    Advertisement
  3. How.com.vn English: Step 3 Write the command as it is understood by AutoCAD in the file.
    For example:- You have to plot a sphere, so you should write a command as below sphere 0.432305644,0,0.166679396 0.001. Here, sphere is a command understood by AutoCAD as the user wants to plot a sphere. The three values separated by comma represents the co-ordinates of origin of sphere. The last value 0.001 represents the radius of the sphere which is separated by space. Note: There should not be a space after last constant you entered in script file.
  4. How.com.vn English: Step 4 Once you have...
    Once you have written the command for all data you need to plot, press Enter, else the program will turn out to be GIGO and you will be asked for last data that is to be plotted in AutoCAD.
  5. How.com.vn English: Step 5 Click on Save As from File menu on your Notepad file.
    A dialog box will appear. Enter the file name. You must have to add .scr to end of your file name, which means it is a script file.
  6. How.com.vn English: Step 6 Load that script file in AutoCAD to get your data profile.
  7. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      Things You'll Need

      • A computer
      • AutoCAD 2011 (Older version may work)

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 58,650 times.
      How helpful is this?
      Co-authors: 7
      Updated: February 15, 2024
      Views: 58,650
      Categories: CAD Software
      Thanks to all authors for creating a page that has been read 58,650 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement