Search the Community
Showing results for tags 'ram'.
-
Hi, i need to read an external dwg and import only some entities. I use WblockCloneObjects, it work fine but i found a memory problem, the memory is not disposed autocad memory process significantly increases after every WblockCloneObjects. Where is the problem? Thank you very much. [CommandMethod("TestClone", CommandFlags.Transparent)] public void TestClone() { // repeated 20 times to highlight the memory consumption for (int i = 0; i < 20; i++) { ObjectIdCollection filteredIds = new ObjectIdCollection(); Database targetDb = ACAP.Application.DocumentManager.MdiActiveDocument.Database; using (Transaction trMain = targetDb.TransactionManager.StartTransaction()) { using (Database db = new Database(false, true)) { // read the source dwg db.ReadDwgFile(@"D:\he10t.dwg", FileOpenMode.OpenForReadAndAllShare, true, ""); // get all entities using (Transaction trSource = db.TransactionManager.StartTransaction()) { BlockTable pBT = (BlockTable)trSource.GetObject(db.BlockTableId, OpenMode.ForRead, false); BlockTableRecord pBTR = (BlockTableRecord)trSource.GetObject(pBT[blockTableRecord.ModelSpace], OpenMode.ForRead, false); foreach (ObjectId id in pBTR) { // ...open entity and filter filteredIds.Add(id); } } // clone the filtered entities in current document using (ACAP.DocumentLock dl = ACAP.Application.DocumentManager.MdiActiveDocument.LockDocument()) { using (IdMapping mapping = new IdMapping()) { // now clone the objects into the destdb ObjectId destDbMsId = SymbolUtilityServices.GetBlockModelSpaceId(targetDb); db.WblockCloneObjects(filteredIds, destDbMsId, mapping, DuplicateRecordCloning.Replace, false); } } } trMain.Commit(); } filteredIds.Dispose(); } }
-
When Using CTRL+C then CTRL+V the object takes a while to redraw itself! HELP?
tmelancon posted a topic in AutoCAD Bugs, Error Messages & Quirks
We have been working with ACAD 2014 for some time now and have never had any issues what so ever. Management upgraded everyone from 2GB RAM to 8GB RAM and now all of a sudden when when do CTRL+C to copy and then CTRL+V to paste, it takes that objects (i.e. text, block, line, arrow) forever to regenerate. It literally redraws it before my eyes in the slowest fashion POSSIBLE! LOL All we did was upgrade the RAM and I went right back to work. Please help!? Any and ALL suggestions would help, this stinks!! -
Is there a way I can increase the RAM usage by my computer(s) while rendering?
numberOCD posted a topic in Autodesk Inventor
Hi, I'm currently rendering a 30 second video at premium anti-aliasing at 24 fps and the estimated time is 100+ hours. The time is understandable, but when I check the status of the computer, it is using 100% of the CPU but only 50%-66% of the RAM (2.0Gb of 6.0Gb used by Inventor). Is there any way of changing the setting on this (and eventually the other) computer? The (3) computers have: Windows 7 - 64bit - unanimous Computer 1 6Gb of RAM, Intel Xeon CPU, E5405 @2.00GHz NVIDIA Quadro NVS 290 Computer 2 4Gb of RAM, Intel Core Duo CPU, T9600 @2.80GHz ATI Mobility RAdeon HD 3670 Computer 3 4Gb of RAM, Intel Xeon CPU, E5405 @2.00GHz NVIDIA GeForce 9500 GT Any tips are greatly appreciated!!