AutoCAD .NET :: Copy Linetype From Another Database
Aug 17, 2006
I have 1 drawing open, I have another drawings Database open . I have found the LinetypeTableRecord (in the Database) of the line type I want to copy to the open drawing.
How do I copy a LinetypeTableRecord from one drawing to another?
View 8 Replies
ADVERTISEMENT
Nov 14, 2012
How can I copy a linetype definition from a drawing to the linetype definition file?
View 7 Replies
View Related
Oct 31, 2011
Ones every three years we have an upgrade of Inventor. In a few months we have an upgrade from Inventor Proffessionel 2009 to Inventor Prof. 2012. Since we often use special materials in our design process we also create/add the new material in the material database. So here's the question; is it possible to copy the material database (special mades) from Inv Pro 2009 to Inv Pro 2012? It would save us a lot of work!
View 4 Replies
View Related
Aug 6, 2013
I am working on the AutoCAD customization and doing the same by VB.Net & C#.Net. But I just want to know the difference as mentioned below:
1. Insert Block In AutoCAD
Using VB.Net without using DataBase services..Only 1 statement is required to Insert the Block objAcadDocument.ModelSpace.InsertBlock(Required Arguments are here) Using C#.Net with DataBase services
There are many statments are there to insert only 1 block..Like Start Transaction, Lock the document, Get the Object Id Block etc...So my quetion is that when I have to use DataBase services and when not
what is the advantage of doing customization using DataBase services rather than go for wihout DataBase services.?
View 4 Replies
View Related
Aug 23, 2013
I have a keyboard shortcut for Copy (see directly below). This command doesn't copy multiple. But if I type "Copy" at the comment prompt (AutoCAD 2013) the copy multiple is the default. Copymode is already set to "0".
(DEFUN C:C()
(setvar "SNAPMODE" 1)(COMMAND "_COPY")
(PRIN1)
)
View 4 Replies
View Related
Jan 3, 2013
I'm using AutoCAD 2013 that came with Building Design Suite (Revit) and the copy command terminates after making the first copy, instead of continuing to make multiple copies until I terminate the command. Is there a switch to control this? A sysvar?
View 2 Replies
View Related
Jan 11, 2013
i have various files which I cannot copy elements of into other drawings.
when i use the ctrol+copy command, I get the "copy to clipboard failed". This has only started since I upgraded to AutoCAD2012.
View 4 Replies
View Related
Apr 21, 2013
I have a 3D file (not of my creation) that gives me some problems when I try to copy it (it is a 3D building).
The problem is that, when i click on "copy" command, I can select a point but then AutoCAD crashes and it takes about 30 seconds to return working a normal way and permit me to paste it. (it happens with "move" command too)
Otherwise, if I use "copy with base point" I have no problems: after a second I can paste it where I want.
How can it be possible? Cause if sometimes I mistake and digit "copy", I always have to wait the long Autocad response.
This problem happens with both autocad 2012 and 2013 and it doesn't happen with other 3D files I have. The drawing is made mainly of meshes.
I have a Dell notebook and a NVIDIA Quadro 2000M video card, so you can understand I don't like this problems: I spent a lot of money for something I hoped could work well with AutoCAD.
About that, aren't there drivers for the graphic card? Cause when I click on "check for updates", autocad says me that there are newer version of the driver, but then it says me that it is impossible to update it (I have a connession and a student version).
View 4 Replies
View Related
Aug 3, 2011
I recently upgraded to Civil 3D 2011 from C3D2010. I have used the same ACAD.PGP file for years that includes the shortcut C for the COPY command. Up until C3D2011 this would always allow me to copy an entity multiple times, (the default when COPYMODE is set to 0).
I am running C3D2011 64bit on WIN 7 64bit OS. It happens with other commands too that use a dialog box normally, i.e. INSERT - it only brings up the command line version of it.
View 5 Replies
View Related
Jul 5, 2012
I am trying to make an assembly copy as separate project using the iLogic Design Copy feature.
Everything seems fine except I do not have my involved in assemblyContet Centerparts in this copy.
I am also have no any possibility to chose the Content Center folder in the iLogic Design Copy feature as it does not showup there.
[URL]
View 2 Replies
View Related
Dec 11, 2013
I am having a problem with memory. I am running Windows XP with 4GB ram. when i start laying out in paper space, i copy the window in one page or copy multiple pages, every time i copy a page of window my memory builds up & up & up with each one until it gets to over 2 GB & the it tell me that if i continue with this next process CAD will crash because i have maxed out the virtual memory. This is usually not a problem when i am doing smaller one off drawings with a few pages of windows but when i am doing a bigger project with 20+ pages or windows i run out of memory.
I gave the latest file to my business partner & he does not have this problem at all. He can open up many windows & as many pages as Cad will allow. His memory always fluctuates around the same 2GB. He is running Windows 7 with 4 GB ram.
View 9 Replies
View Related
Aug 20, 2011
Is it possible to take Current User Coordinate System of external Database object, like
Application.DocumentManager.MdiActiveDocument.Editor.CurrentUserCoordinateSystem?
View 7 Replies
View Related
Jun 14, 2013
I am new to AutCAD and where I can find or purchase line tpes specific to development (i.e. water, san, storm, edge of payment, top of slope, etc).
I do not have time to learn how to make linetypes as I am still learning the basics of the program.
View 2 Replies
View Related
Apr 2, 2004
How i would create a new linetype in AutoCAD LT 2004. For example creating an electrically traced line that is a dashed line with the letter E in the line.
View 6 Replies
View Related
Nov 8, 2012
I work with a drawing that for some reason don't have a proper fence line in it. I tried to load another .lin file, but still the fence line looks funny. The line I'm after looks and work ok in alla other files but this one!
I tried to copy paste a fence line from another drawing but what's pasted is just half the linetype...
The line should look like this -- / ---- / ---- / ---- but comes in as -- ---- ---- ----
Why do I loose the slashes?
*FENCEONBOUNDARY, Fence on boundary _____ / _____ / _____ / _____
A,.7,["/",STANDARD,S=.05,R=0.0,X=-0.1,Y=-.05],.1
The result should look like ----- / ----- / ----- / -----
View 4 Replies
View Related
Jul 15, 2011
i set linetype scale in one of the drawing which is lts value is set to 900..when i select line and open option in order to set linetype scale it show the message..
View 3 Replies
View Related
Apr 25, 2013
I looked through other threads and I still couldnt get it figured out. I am trying to make a linetype like the attached image..
View 7 Replies
View Related
Dec 18, 2012
I'm trying to add a database (excel ) as source for object in Map3D.
I start but when i select the excel file that i've created and stored in my pc map3d says that the cration of the data source doesn't work.
View 7 Replies
View Related
Jun 2, 2011
what is the best way of getting (modified) event triggered for some specific object?
i see a lot of examples doing: if database is modified, then trigger event, then iterate our list to if that object is in it.
is that the better that way, like to add handler to the specific object, and then when each of them is modified, then each of them call handler?
View 3 Replies
View Related
May 31, 2013
Any equivalent ObjectOverrule for the PnId Database?
If an entity is copied I dont want certain field values to be copied.I've tried an ObjectOverrule but I can't get the RowId at that point.
I also noticed that the field values are set as XData. I edited the XData in my ObjectOverrule but the values still gets copied.Is there a setting at project level to control which fields not to copy?
View 1 Replies
View Related
Jun 8, 2012
I am trying to convert several drawings that are linked to an SQL database to SQL spatial. The drawings are from a Autodesk map 2004 system. I have Map D 2013 64Bit installed on a laptop along with SQL server 2012 RC0 (Microsoft SQL Server Management Studio 11.0.1750.32 Microsoft Data Access Components (MDAC) 6.1.7601.17514 Microsoft MSXML 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 9.0.8112.16421 Microsoft .NET Framework 4.0.30319.269 Operating System 6.1.7601).
To keep my rouge laptop off the company network I exported our existing SQL data to a access database that I placed on the laptop and converted back to SQL and linked it to the 2004 drawings. That part worked fine. I would like to convert all of them to SQL spatial. I have converted a small drawing but it took a couple of hours. I am in the process of a larger drawing that has 60,000 entities and it has been working for 8 hours and only has 4550 of them completed. I am using the output to fdo connection.
View 8 Replies
View Related
Mar 27, 2013
As part of the automation requirements we are working on (through the .NET interface), we would like to find out whether a given drawing contains a sphere and if it does we would like to know its properties. We are doing something like this, to loop through the database and am able to get all Solid3d type of objects.
What I would like to know, if a given solid3d object is a sphere or otherwise. The code snippet is pasted here for reference:
bool bContainsSphere = false;
foreach (ObjectId Id in Ids)
{
DBObject oObject = ts.GetObject(Id, OpenMode.ForRead);
if (oObject.GetType().Name == "Solid3d")
[Code] ......
View 8 Replies
View Related
Jun 27, 2011
I want to create an application that intensively uses dynamic blocks, cross checking any new or changed block entity with existing ones.
It needs to be almost instantaneous but the only way I know will be impractical.
Looping through the property collection of each block reference, searching for each parameter then checking for a match.
Is there some sort of database functionality I can use to quickly compare block information?
View 1 Replies
View Related
Sep 17, 2007
I have created a new database: Database newDb = new Database(true, true) Inserted a block into modelspace and now I want to zoom extent before saving.
Can this be done working on a new database in memory? all the examples I have seen on this board use Interop on a open document.
View 9 Replies
View Related
May 10, 2012
How can I link an external database(say access/oracle) to a drawing so that I m able to insert/update attribute directly from the autocad map drawing.
View 1 Replies
View Related
Sep 3, 2012
How i can browse all objects into an autocad database?
View 5 Replies
View Related
Oct 18, 2012
I have a preview control on a window that I want to display temporary custom entities that the user can build before adding to the current working document. Is there a way to create a temporary document and database that I can show in my preview control? The Preview Control was created with the guidance of the BlockView.net sample.
What I mean by temporary, is a document / database that cannot be displayed or edited in the editor window.
View 2 Replies
View Related
Sep 21, 2011
I'm having a problem accessing data manager tables in the 2011 version. My C# .NET code worked fine with 2010. Here is a sample of the 2010 code that works, but returns zero length tables in 2011.
C#
ProjectPartCollection oPP = PlantApplication.CurrentProject.ProjectParts;
PlantProject oPProj = PlantApplication.CurrentProject;
Project oProj = oPP["PnId"];
try
{
//get ACAD data table
[code].......
The last two lines fail to object any meaningful data in 2011. In 2010, I would have all the table rows and could access tags and asset information.
View 2 Replies
View Related
Apr 22, 2013
what's the different between
Dim oDb As Database = HostApplicationServices.WorkingDatabase
and
Dim oDb As Database = Application.DocumentManager.MdiActiveDocument.Database
View 3 Replies
View Related
Jun 17, 2011
I'm having a complete blockout on my attempts to create a new material with VB.NET.
Dim db As Database = Application.DocumentManager.MdiActiveDocument.DatabaseDim tm As DBTransMan = db.TransactionManagerDim myT As Transaction' myT = tm.StartTransaction()Dim tt As Autodesk.AutoCAD.DatabaseServices.Material = New Autodesk.AutoCAD.DatabaseServices.Materialtt.Name = "Mat_new"tt.Description = "New Material"myT.AddNewlyCreatedDBObject(tt, True)myT.Commit()
It was noted that this code didn't work (which I can confirm):
"Just a guess, but you probably have to add it to the Database in order to use it."
I can't find any way to add this to the database. I'm working with the R2010 drawing format it that is relevant.
View 6 Replies
View Related
Aug 14, 2013
I am autocad 2010 user. I have drawing files from consultants with custom linetypes. I have deleted the. shx file but need to change line type. How do I select the relevant lines to convert to normal line type?
View 2 Replies
View Related