• Skip to content
  • Skip to primary sidebar
  • Skip to footer

CadOasis

Ease Your CAD Software Experience !

  • Home
  • Training
  • Solutions
  • Services
  • Support
  • My Account
  • Log In
Home » User input Functions

November 15, 2014 By CadOasis

User input Functions

  1. initget: This function initializes keywords or input filters. (initget [flags] [keywords]) Flags: This is control flag for next input function. Ex. (initget 7) (getint “\nOnly Integer value ”) 2. getreal : This function ask for user input of real number and returns real number (getreal [prompt]) Ex. (getreal “Width:”) Width:» 2.5 2.5 3.getstring: This function prompts user to input text string. (getstring [flag] [prompt]) Ex. (getstring T “You can enter words with spaces”) (getstring “one Word only”) 4. getpoint: This function asks you to enter a point . (getpoint [point] [prompt]) Ex. (getpoint) Now click in GA or input point to get point : lets say 0,0 It will return as (0.0 0.0 0.0) (getpoint “Click in GA”) Click in GA» (Click in GA)…

This content is for 1. DraftSight Premium Membership [CadOasis] members only.
Log In Register

Filed Under: AutoCAD Automation, DraftSight Automation Tagged With: AutoLISP, DraftSight LISP, LISP



Reader Interactions

Primary Sidebar

Current User Progress




Categories

Tags

Annotation API AutoLISP Blocks BOM Table Commands Customization Dimension DraftSight DraftSight 2015 DraftSight 2017 DraftSight API DraftSight C# DraftSight LISP DraftSight Script DraftSight V1R5.0 DraftSight VB.Net DraftSight VBA Draw Excel VBA file Format General Guest Author LISP Macro Modify News Options Print Productivity Revision Table script Sketching SolidWorks API SolidWorks Macro SolidWorks VBA Standards Table Toolbox Tools Troubleshooting User interface view Whats New

Footer

  • About Us
  • CAD Software
  • CadOasis Store
  • Contact Us
  • Advertise
  • Links
  • Disclaimer
  • Privacy Policy
  • Terms and Services
Creative Commons License
CadOasis.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

© Copyright 2014-2018 CadOasis Solutions · All Rights Reserved ·