Jump to content

Search the Community

Showing results for tags 'sid'.

  • 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. Hello! A little background, first. I have some large number of MrSid (sid files) and coresponding sdw file to tell us informations about where and how the image should be inserted. Such a file is presented below: What I would like to build is a "database" that may be searched by a lisp routine. The workflow is as follows: Command: Src_img Please choose a point: are to be inserted> Now, while everything is trivial in this list, I seem to have a hard time retrieving the size of exotic file types (as sid) as it appears in the Autocad environment (wold size, if you wish). For other files I use a trick found on web (VBA): Set objFolder = obj_Shell.Namespace(FilePth) Set objFile = objFolder.ParseName(FileName) objFile.ExtendedProperty("Dimensions") This gives us the size, in pixels. Having the scales presented before, computing coordinate of bottom right corner is, again, trivial. The question, now: Is there a way that you know about to get the size of a sid image (pixels or world size) using lisp or vba? I would go as far as to recursively search the folders for sid files, load them, retrieve the bottom-right corner, unload, step to next. By the way, I have already downloaded the sdk from LizardTech and I'll see what I can get from there. Any insight is greatly appreciated! Have a great day! Nick PS I give you so much informations just to avoid reading things that I already know about. Sorry!
×
×
  • Create New...