Jump to content

Search the Community

Showing results for tags 'scalelist'.

  • 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 3 results

  1. Hi, We are working in AutoCAD 2014 with xref's (Civil) mostly in meters and using annotative text. All our details are done in mm and we need to xref the mm drawing into the meter drawing. How do I set up my scalelist in each meter and mm drawing respectively so that it picks up the correct scaling for the text. You help will be greatly appreciated Regards Hannah-Marie
  2. All my drawings have loads and loads of obsolete scales on them. Trouble is, when I run the scalelistedit function, Autocad 2008 comes up with the following message: 'Unhandled exception has occurred in a component of your drawing. If you click continue, the application will ignore this error and attempt to continue. Index was outside the bounds of the array.' This is driving me nuts because I don't know what this means and the long scale list is slowing down my work (especially when I 'copy-paste' bits of drawing from one autocad file to another. Would highly appreciate if anybody on the forum could help get my scalelistedit function working again!
  3. I've been "fixing" ADesk's stuff-up ... or trying to for a while now. But I'm hitting my head against one feature: Adding a Scale to an Object without using the -ObjectScale command. The reason I want to not use the command is that I want it to work inside of blocks as well. Now it seems reasonably easy when it comes to blocks/text/mtext. Where it gets difficult is with dimensions, hatching & mleaders. Attached is what I have so far. You may need some code in the Caddons Suite to run this as it uses some libraries from there. Most of it works reasonably, the function I've got problems with is Scales:Atatch on line 307. It's not complete, so I'd advise to not use it yet on any production drawings. And ity sertainly isn't optimized, I first wanted to get it to work ... so I'm calling functions numerous times where it could conceivably have been done much more efficiently. Functions might still also be renamed to be more consistent. Basically my idea was to extract the currently displayed scale (Object Context Data Dictionary item). This works fine with the Scales:GetDisplayed function, which checks if the CAnnoScale equals one of the attached scales (which is gotten from the Scales:Entity:ListAttachedData function), if not then get the 1st attached scale. Then use that to generate a new DXF list - removing the -1,5,102 & 330 items, then modifying the items which vary due to the scale by a factor calculated from the newscale/displayedscale. With dims, you get a reference to the unnamed block which forms the dim. Each context data seems to have its own unnamed block. So how should one generate such? Should I make a temporary dim to match, delete it then use it's non-purged unnamed block? Then also hatches seem to have 2 separate dictionaries which contain separate contextdata items: an ACDB_ANNOTATIONSCALE_VIEW_COLLECTION (containing ACDB_HATCHVIEWCONTEXTDATA_CLASS items) and the "normal" ACDB_ANNOTATIONSCALES (containing ACDB_HATCHSCALECONTEXTDATA_CLASS items). Both of these items seem to have the exact same data for each scale attached ... up to a point (290 code). Then the HATCHVIEWCONTEXTDATA item has additional values 100, 330, 10, 51 & 290. Anyone have an idea what these entail? I'm about 2 micro meters away from giving it all up for a bad try, and restarting it in C++/C#. Would be a shame really because it was getting real close! I've been trying to understand the ObjectARX help on this as well, though the closest thing I can see is the AcDbAnnotationScale::copyFrom method ... it doesn't say much about what it does. More about what error codes it returns. Scales.LSP
  • Create New...