Jump to content

Search the Community

Showing results for tags 'wcs trans dxf origin zero'.

  • 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. eimimitu

    WCS Origin

    I've searched high and low but came up empty... Simple routine does the following: (vl-cmdf "ucs" "w");switches to WCS-good (vl-cmdf "copy" ent "" "_non" bse "_non" "*0,0");copies ent from bse point to WCS origin-[color="red"]not good[/color] (vl-cmdf "dxfout" "" "v" "lt2000" "o" "l" "" "");export copied to DXF-good (entdel (entlast));deletes copied-good (vl-cmdf "ucs" "p");returns to previous UCS-good Issue: It copies the objects to origin of the UCS that was set when routine started... Above only works if the drawing is already in WCS when I call the routine.. It also works when i put the ["ucs" "w"] command before my ssget for "ent" and getpoint for "bse" functions. But it's not as smooth visually so not ideal for my goals... How do I force "ent" from "bse" to WCS origin? I think the answer is trans function but I couldn't figure out how to implement it.. Sounds so simple but what the F... Any and all help is appreciated!
×
×
  • Create New...