Jump to content

Search the Community

Showing results for tags 'map 2014'.

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

  1. This was working in Map 3D 2013... Basically, what I want to do is: open a dxf file copy it's database to a new dwg file close the dxf I modified the code a little bit to try and make it work with Map 2014, but without success. Here is my code now: // Open dxf DocumentDocument doc = AcadUtil.DocumentManager.Open(dxfFileName, false); // Lock Document so nothing interferes using (DocumentLock docLock = doc.LockDocument()) { [indent]// Save drawing as DWG file using (Transaction tr = doc.Database.TransactionManager.StartTransaction()​) { [/indent] [indent][indent]doc.Database.SaveAs(fileName + ".dwg", DwgVersion.Newest); tr.Commit(); [/indent] } [/indent]} // Set document active so we can close it if (Application.DocumentManager.MdiActiveDocument != doc) { [indent]Application.DocumentManager.MdiActiveDocument = doc; [/indent] } // Dispose db doc.Database.Dispose(); // Close document doc.CloseAndDiscard(); Code throws error on doc.CloseAndDiscard(); FatalExecutionEngineError was detected... I have tryed multiple different things, and now I don't know what to do to make this work. I read about system variable FIBERWORLD... It is set to 1. What am I doing wrong?? Thanks for your help.
  2. I am migrating from Autocad Map 2009 in windows XP (32 bits), to Map 2014 64bits, in Windows 7 64 bits My question is if is possible to use visual basic 6.0 activex with Map 2014 64bits And if it is possible, what to do to get the interface to it. I have from history a "dll Visual Basic 6.0 Activex Com module", which I use to connect from visual lisp, through vla-GetInterfaceObject" call. It works fine in Autocad Map 2009 with XP I recompile it using the correct libraries from Map 2014, and registered with regsvr32 (just in case, I also registered with the regsvr32 that is in windows/SysWow64/regsvr32) But I received an "Automation Error. Problem in loading application" error message, when doing: (vla-GetInterfaceObject (vlax-get-acad-object) "marVBasic.marVbUtils") Being marVBasic the name of the visual basic proyect, and marVbUtils the class. (This works fine in Map 2009) Thks
×
×
  • Create New...