Jump to content

Search the Community

Showing results for tags 'block transform point'.

  • 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 have a circle inside a block and this block is inserted in a drawing. I want to get the coordinates of the center of that circle in WCS. Obviously, the center of the circle is not the insertion point. I found 'nentselp' to transform with a trans. matrix but requires me to give a point which I don't have (user input is out of the question) so I doesn't work for me. All other data of the block is however known. I managed to get the center of the circle by using the following line (setq ptz (cdr (assoc 10 (entget (cadr (getblkitems ent)))))) The 'getblkitems' returns all entity names in a list (somebody kindly posted in a forum) and I know the second entity (hence the cadr above) is the circle. But now the question, I don't have the trans. matrix to get the point in WCS. Any ideas how this could be returned transformed or any ideas of a different approach? Thank you.
×
×
  • Create New...