Jump to content

Search the Community

Showing results for tags 'restraint'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


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

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 2 results

  1. Hi all, good day. I have this script below which copies along the x and y axis with two separate commands. CX and CY. 2 issues. I need it to regen every time I copy (There's a bug when I copy leaders at the moment) (command ".regen") has no effect. Copy multiple, After first copy the restraint no longer take effect. Thanks for any help. ;;----------------------------------------------------------------------;; (defun c:CX () (setq ss (ssget)) (command "._copy" ss "" "M" pause ".yz" "@" pause) (command ".regen") (setq ss nil);; add this line to clean the selection (princ) ) (defun c:CY () (setq ss (ssget)) (command "._copy" ss "" "M" pause ".xz" "@" pause) (command ".regen") (setq ss nil);; add this line to clean the selection (princ) ) ;;----------------------------------------------------------------------;; (vl-load-com) (princ (strcat "\n:: Lock_Copy_X&Y.lsp loaded ::" "\n:: Invoke by typing 'CX' (Copy on X-axis) or 'CY' (Copy on Y-axis) ::" ) ) (princ) ;;----------------------------------------------------------------------;; ;; End of File ;; ;;----------------------------------------------------------------------;; GOT IT ANSWERED HERE (POST NO.4) by Roy_043: http://www.cadtutor.net/forum/showthread.php?94798-Copy-on-X-axis-only-and-Y-axis-only&p=699099&viewfull=1#post699099
  2. Hi, I had created a dynamic door block (my first one). As the block has door frame section on both ends, i need to place the linear distance parameter near the door hinge (and not on the basepoint for block insertion). This extends the door by 4" from the value of door opening i manually enter. Suppose i enter 42", the resultant opening will be 46". Any way to fix this. Also, how can i make the block to accept only predefined sizes like 2'9", 3'0" etc
  • Create New...