in VB6 when we use vbCrLf it work and come in new line but in .net it is not working
Dim Str1 As String = " This is Test for First Line" Dim str2 As String = " This is Test for Second Line" Dim Str3 As String = Str1 & vbCrLf & str2 Dim acText As DBText = New DBText() acText.SetDatabaseDefaults() acText.Position = ed.GetPoint("click Point To Insert").Value acText.Height = 1 acText.TextString = Str3.ToString acBlkTblRec.AppendEntity(acText) acTrans.AddNewlyCreatedDBObject(acText, True)
The company I work for uses Illinois DOT linework Codes.They had been using Microstation. But the office Im in uses Civil 13. Any linework code set that I need to process field to finish?
1. When I do a re-import of my points my linework appears to double up (linework over linework).
2. In my description keys I use "rr" for rail road and "rrisg" for railroad signal (no * in code), linework comes in for both even though I only have it set up for "rr". I thought without the * in code this would not happen, but still does.
3. Finally, I use the "Survey Point Properties" window to make edits to points. All seems great, but when I got back into my drawing all my work was gone? Do I need to update the database some how with the changes? I was under the assumption that by doing it the way I do the changes are saved to the database. Is it better to do the edit on the Survey Tab by right clicking on the import event and selecting "Edit Points"?
Currently I cannot print line weights with the "best fit" scale option selected.
Scale options of:
model 1:1 (w/o tiling) ,custom (above .7 scale), & current window all seem to scale the lineweight correctly. But the output is not limited to the sheet edges
IDW line weights display correctly within Inventor (2013) drawing environment
The behavior is the same across all printers on my system, including PDF & from the "export to PDF" option.
It seems any scale value smaller than .7 will zap the line weights from the preview as well as the hardcopy
I am having a problem with some dimensions in a drawing. I have a 2D representation of my 3D model (using FLATSHOT) in my model space. I added the dimensions in a custom UCS and everything looks fine in paper space when looking at the TOP view but in model space I notice that the text is offset on the z-axis by a very large amount, like 7 meters large (I'm working in mm). How to fix the offset and get the text on the same plane as the line work?
I go back and forth between older drawings in 2009 a lot while my current drawings are in Civil 3d 2012. Is there a way to copy linework from a Civil 3D drawing into my 2009 drawing easily. I used to be able to copy and paste between drawings but that doesn't work between these versions. Right now I have to wblock out the linework and open that new drawing and save as 2004 then import it into the old drawing.
I would like to bring in some of our linework into WS so it can be viewed on an iPad or smartphone with the GPS location referenced to the linework. Our dwg files projection is set for the NAD83 California Coordinate System, Zone 6, US survey feet.
Does the line work need to be projected before uploading to WS to use the GPS correctly? I understand there is also a units issue...but for some reason the location is never where it should be.
I am having several problems with my xrefs. My two big problems are xrefs bringing in way more information than I want, and they are duplicating if they are selected, even when I have the xref layers locked.
My set up is this:
I have a plan file, a grid line file, an elevation file, and a section file.
I want all files to be referenced to each other. However, I do not want duplicates of any xref. For instance, in my section drawing, I will reference my plan file which consequently brings in any file that is referenced in the plan file. I know that I will get the circular reference warning and that I can click continue. However, is there any way I can just get "1 degree of nesting"?
Second, I cannot figure out how to lock my xrefs to prevent them from constantly being selected. My problem is that in my live drawing information, if I select everything within my window and an xref is in that window, it will be copied. I don't ever want to duplicate my xrefs, but I can't find a way to lock them (even when locking xref layers).
there is a command that allows for editing the actual line work in an object controlled by the Display System... it is a last resort command if you cannot get the object to display as you wish.What is it?
For some reason when I place new text or line work in a file it is fine, but when I save the drawing, close it and re-open it all of the text and line work found in model space goes gray. Yet if I place new text and use the match property command on text placed previously, that is now gray, and use it on new text, the new text recieves the attributes of what the previously placed text has minus the appearance of being gray. In my drawing I am using a shape file and a data connect image through planning and analysis.
I do traditional b/w pen and ink illustrations. How do I edit the ink tones in cs6? In Photoshop it was very easy - seems terribly confusing in Illustrator.
If I bring link in a dwg file origin to origin. The line work comes in correct and straight but in the wrong position.
If I link in a dwg file by shared coordinates it comes in in the right position but the dwg lines aren't straight if you move the mouse they jump around.
I keep running into a situation where I would like to be able to create an edge or a work axis at the intersection of a work plane and the surface of the part. I figured out a work around if the surface is flat, but I haven't figured out a work around for a curved surface.
How do I create work axis where work plane intersects curved surface?
Or put another way: How do I project intersection of work plane and curved surface onto the work plane in a 2D sketch?
I need to be able to draw a 2D sketch on the work plane, but get a perfectly matching projected line onto the work plane, from the curved surface, at the intersection of the curved surface and the work plane.
The attached jpg shows the intersection in question. I circled it.
All of my block updates work just fine when I use them in MEP 12, but we have a couple of drafters working in vanilla AutoCAD & for some reason the same commands/ blocks/ settings (same exact file even) that work in MEP do not work in regular ACAD.
Now they do "work" - the commands/ block insertion - but the annotative adjustment (i.e. 1/4" to 1/8" to etc) do not work until I select the block and add the desired scale to its annotative object scale list - why is this necessary? it isn't in MEP? The blocks work/ act properly annotatively once inserted and adjusted as mentioned above, but again, why? Why? Why is this necessary? All of the scale are in the block file as it resides in my block folder...?
I'm trying to write a lisp routine to create a two line MLEADER but i can only get one line of text. Creating the MLEADER manually from the command line i just have to hit enter after the first line of text to add a second line. How would i do this in a lisp routine?
For example, I'm making revisions to a plan and drag a block or xref of the floor plan changes where walls/doors/windows have moved. I want to be able to simply pick the underlying linework as opposed to tracing over each line of said xref/block.
I am looking to draw my pipe with a thicker appearance than the typical line of width "0". Our storm pipes are usually drawn with this so as to stand out from other utilities. If the pipe is represented by a polyline, I have usually adjusted the "Width" or "Global Width" value to my liking. With pipe objects, it seems more complicated. I have searched the settings, and the closest thing that I could find was the Lineweight property, but that appears to have no effect on the line thickness in the CAD drawing.
Do I need to tweak a plot setting? Make a new linetype altogether?
I needed to remove a feature line that I used as a break line when creating a surface. When I removed the feature line from the definition of the surface, the grading did not change. It appears the points created by the feature line remain which is why grading didn't change. The only work around was to delete these points.
I noticed the same thing happens when I removed the surface boundary and inserted a new boundary. why these points remain and how to remove when I delete boundary and feature line from surface?
I have a line or a pline segment and i want to start a line from a point laying there and go perpendicular outwards. Is there a way to do it with tracking?
Yes, i saw the command draw line at an angle but i find it a little bit complicated for a simple task like that. I am sure autodesk have a simplest solution about that.
If i am already at the draw line mode and i can easy catch the tracking perpendicular to previous segment but if i want to start from another line and go perpendicular i cannot make the tracking work.
We are creating a new company title block for the use in Inventor 2010 and AutoCAd 2010. It has initially been generated in Inventor and exported to AutoCAD. My problem is that all attributes that came over are now setup as multiline attributes and I can't seem to change them to single line. Therefore you have to open the multiline editor separately for every single item to make changes in lieu of just 'tabbing' through the values in the Enhanced Attribute Editor. This adds time and frustration and seems to be intolerable for some of my colleagues.
Is there a way to change the attributes to a single line in AutoCAD I'm just not aware of? I tried to find different settings for the export from Inventor but the options seem to be very limited.
I could probably go over this and create separate AutoCad only titleblock and border but that would kind of defeat the purpose.
I have feature line with elevations that represents bottom of ditch and want to go UP 3:1 slope. also i have edge of road feature line that is higher than ditch and want to go 2% down until it hits side of the ditch that is 3:1. Any easiest way in civil 3d to create intersection line between ditch bottom going up 3:1 and edge of road going down 2%?
if I select a line, then enter the move command, the line unselects also when I select a line, then hit delete, the line is still there both of these used to work
I have a problem with a recently downloaded version of Inventor. When I start a new drawing all I get is a blank blue screen instead of one with a grid display. If I start a line I can see the cursor change to draw the line but a line does not appear. I don't know if it something with how I installed the program or just system settings.
This layer is styled so that all text is centered. In this case, FDO_LAYER2 is having it's text left aligned. I'm pretty sure this is due to the method I am using for a new line. Is there something else I can use to break the line and maintain the center styling?
Using a second point for FDO_LAYER2 is not an option.
Basically I got a process which is quite long , let's say 30 seconds.
I want put a counter at command line showing to
user how many objects has been processed so far. But I don't want to use New Line Feed to change the line and keep each new number at same line and same location of command line.
The attached DynBlk needs to be Constrined. As an LT user I am unable to do so.If you rotate the block thru the range you will notice that the green line changes its relationship to the dark line.I would like for it to remain 5-1/2" from the dark line. (Truth be told I would like for it to stretch to 7-1/4 and 9-1/4 as well but that's another day.)
I created some new custom line types using express tool featute in autocad and I saved it with a .lin extension. It is only available in that drawing itself. How I canget those line type in all my new drawings.
I tired to edit the default linetype file even it doesnot appear in the linetype manger windo.
*IRRIGATION,IRRIGATION LINE A,1,-.066042,["IRR",Standard,y=-.104589,s=.25],-.493243,1 *SEWARAGE,SEWARAGE LINE A,1,-.031293,["SEW",Standard,y=-.104589,s=.25],-.651197,1