Jump to content

Search the Community

Showing results for tags 'xref renaming replace'.

  • 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. Hi All, I have so many sheet files created using SSM. The title block file which was XRefed in these sheets has a wrong file name. I am going to rename the file, which, I suppose, will screw up all my sheets. A solution I found was; Rename the Title Block File Since File Name is changing I think Reference Manager doesn't help. So I have created a script file to detach the existing XRef (with wrong name) and Attach the new one (the renamed file) Run the script on all the files using ScriptPro Now, the problem is that, before running the script pro, I have to make sure the Title Block is getting attached in the Layout Space and not in the model space. So for that, I have to activate the Layout tab first in my script file. Each sheet has only one layout. So I wrote the script like this; ;;SCRIPT STARTS HERE FILEDIA 0 LAYOUT SET -XREF DETACH -XREF ATTACH 0,0 1 1 0 FILEDIA 1 ;;SCRIPT ENDS HERE I hope the Blank line after 'SET' would set the only existing layout current. Now I hope I explained the whole scenario. Is it there a way faster and safer?
×
×
  • Create New...