Jump to content

Search the Community

Showing results for tags 'entmake output polyline'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions

Categories

  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 1 result

  1. Hello world! Im making a program to "shrinkwrap" a set of points selected by the user. It asks for 2 seed points and selects the next by a combination of distance and angle. I will post it when done in case anyone else would find it useful. I have a couple little snags though as i'm new to autolisp coding. How would I output the data as a polyline on the current layer? I have it stored now as a list eg. Command: !pointsxyz ((-48.5079 -0.709823 0.0) (-46.3576 4.23851 0.0) (-43.3432 14.1435 0.0) (-38.6845 11.4073 0.0) (-48.5079 -0.709823 0.0)) I could do entmake but then how do I specify to make it on current layer? Also I got stuck with filtering the user's point selection window to only points. (setq points (ssget _W)) And lastly is there a neat way to compare check if one point has the same coordinates as another? Directly comparing does not seem to work, I assume it only compares a reference to the coordinates. Many thanks for reading, and happy coding!
×
×
  • Create New...