Jump to content

Search the Community

Showing results for tags 'autolisp join entities'.

  • 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. I'm trying to join an arc and a line. I've tried the following: (setq arc1 (entmakex-arc cen rad ang1 ang2 lyr)) (setq pt1 (vlax-curve-getStartPoint arc1)) (setq pt2 (vlax-curve-getEndPoint arc1)) (setq lin1 (entmakex-line pt1 pt2 lyr)) (vl-cmdf "._join" arc1 lin1) 'entmakex-arc' and 'entmakex-line' are functions to make the respective entities (params should be self-explanatory). This code draws the arc and the line properly but will not perform the join. I've searched the internet for an hour now, and cannot find anything that works. What is wrong with this code? Or, if there's a better way to approach this task, please tell. I've tried variations adding an empty string "" to the end of the vl-cmdf parameters, but nothing works. Note that the entities are drawn in AutoCAD and I can manually join them together, so the endpoints match up, etc. But, I need to automate the join part. Any help is appreciated.
×
×
  • Create New...