AutoCAD .NET :: Getting Coordinate Of Lastly Appended (added) Point Object
May 2, 2012
I am trying to get the coordinate of the lastly appended(added) point object.
It seems like I need to use "ObjectAppended" event.
However, when the event is triggred, it looks like the sender object is "Database" (not Point object).
How could I retrieve the point object therefore the coordinates of the point using "Database" (sender object)?
View 3 Replies
ADVERTISEMENT
Feb 20, 2010
I'm having a problem with showing the both x,y coordinates for a certain point , know how can i do that , and by the way I'm using Auto-CAD 2005, because whenever i try to show it , it either show the X - coordinate or the y - coordinate alone but i need to show both of them for example this point (4.2 , 2.2).
View 9 Replies
View Related
Jan 7, 2013
I know that there is a limitation on the numbers of points added to a surface from a point cloud. But I'm curious how Civil 3D determines which points to exclude from the surface. Is there a special alorithm/criteria the software uses?
View 1 Replies
View Related
Dec 25, 2011
I made a complex assembly from Solidworks few years ago. I imported it to Inventor 2012. How can I find the coordinate of the center point of the: a) parts/sub-assemblies, b) the complex assembly as a whole? Under Application Options, I have already checked: Sketch->Display->Coordinate system indicator. Under the assembly tree, I can go to the Origin of each sub-assembly/part and make the corresponding Center Point visible. However, I want the x,y,z values.
I copied and pasted a sub-assembly/part to a new assumbly file and then used VRMLout to export. When I imported the .wrl files to another application, the location of the parts/subassembies are not correct. I think they all became (0,0,0).
View 3 Replies
View Related
Jul 12, 2012
I wonder if there is a way to get an intersecting point coordinate of two polylines(lines) programmatically.
For example, like in the below sample picture, I need to get coordinates of the points in the red cycles.
Is there any method that I can easily use?
Could I get a sample code snippet that computes the coordinates? (in C# & ObjectARX 2010 if possible?)
I've looked up "Through the Interface" and this disscussion group. couldn't find any useful yet.
View 5 Replies
View Related
Jul 28, 2012
Is there anyway to create a point from the coordinate and elevation data listed in a section inquiry panel (see attached)?
View 3 Replies
View Related
Jan 9, 2014
Before when I was creating models the origin (0,0,0) was always set in the snap point i started the line in. Now suddenly something happend and now 0,0,0 is always starting in the Original XYZ point.
How do I get back to the old settings?
View 6 Replies
View Related
Apr 15, 2013
How to set 0 quardinates without screwing with the copy paste base point?
I use the command UCS, Object, Select my base point and measure from there rather than cluttering measurement lines; however, without using UCS, Previous when ever i copy and paste the base point for the copy paste is off.. yes i can reset just wondering why it does this.
View 9 Replies
View Related
Nov 30, 2011
When capturing the Object Appended event of a block containing a "Drawing_No" attribute tag, then trying to add xdata to the object, I get a "Object reference not set to an instance of an object" error. I've tried writing the XData after committing the transaction but it didn't work.
If TypeOf e.DBObject Is BlockReference Then Dim bref As BlockReference = DirectCast(e.DBObject, BlockReference) If bref.AttributeCollection.Count <> 0 Then For Each attId As ObjectId In bref.AttributeCollection Dim attRef As AttributeReference = trans.GetObject(attId, OpenMode.ForRead) Select Case attRef.Tag Case "DRAWING_NO" WriteTitleBlock(e.DBObject.ObjectId) '<<Subroutine used to add XData Exit For End Select Next End If End If
View 7 Replies
View Related
Mar 2, 2012
When trying to move to an object to a specific coordinate autocad2012 puts @ in automatically. How setvar do i use to remove this unnecesarry hurdle
View 1 Replies
View Related
Apr 13, 2012
I am working with Layers, added text boxes to point out areas in a diagram. But, when I go to move the text to align it, the layer moves more than just that text. Why? There is a box around the entire picture to start with, and when I move the text on layer 2, it works. But when I go to layer 3 to move that text into place, it will move part of 2, or the original picture layer. Do I need to disable something?
View 1 Replies
View Related
May 30, 2012
how to match up certain points. I have imported 2 point clouds and have tried to use the 'align' tool to specify three points from the source object (cloud) and three points from the destination object (cloud). When doing this, it does not properly align them. The point cloud makes it difficult to select the exact point I would like to align, since there may not be a point at that exact location, but close to it. Does AutoCAD require the points in alignment to match up perfectly or is it capable of doing a best fit?
Also, is AutoCAD capable of creating a solid 3D piece from the point cloud? I would like to take all of my points and make a smooth object.
View 3 Replies
View Related
Aug 10, 2012
I want to attach a drawing (say A.dwg) and want to query some objects from it and want to draw in the current drawing. In addition to that I also want to set the coordinate system of current drawing ,same as attached drawing(A.dwg). How can I do it by using C#(Arx).
View 1 Replies
View Related
May 14, 2012
Seem like when I cut and paste objects from one file to another, particularly objects with different annotative scale, my lexisting ayers would get corrupted. Standard layer names will be appended with "@_96" at the end (i.e. "symbols" to "symbols@_96"l . The 96 would represent the annotative scale factor in the current file. If I exit out and reopen the file, all layer names will return bsck to normal. However if I cont. to work on the file for a long time, the file will get corrupted. when restore, a lot of annotative symbols that where on different "@_96" layers will merge into on new "audit" layer. Sometimes the symbols show up with a different current annotative scale
View 2 Replies
View Related
Aug 7, 2012
I have 3dsmax 2013 and would be forever grateful for a solution to a parameter wiring problem. In simple question form: How do you wire a slider helper to rotate an object in LOCAL coordinate mode? I've tried it a hundred times and it's not wiring the rotation parameter in LOCAL coordinate mode, it defaults to world or view coordinate mode. (Look at gif attachment)
To replicate this issue in 3dsmax 2013, simply create a cube in the viewport.
In perspective view(or any other), switch to local coordinate mode and rotate it off center any way you wish. Now create a helper of manipulator-->slider type. Right click on the slider, click wire parameter-->value and link to the Box rotation in Z. Make the connection through a one way (--> wiring from slider to box.
Now when you move the slider value, the box doesn't rotate in local coordinate mode, it rotates in world coordinates or view coordinates. Whatever it is, it's not local. What is the expression for LOCAL coordinate rotation? By default the expression in the slider box of wire parameter dialog is z_rotation(or something like that). Looking at the maxscript reference, I've tried Local_Euler_z_rotation and other stuff. I can't figure out how to just get a local coordinate mode rotation through a simple wire parameter link to a slider.
View 5 Replies
View Related
Jul 19, 2012
I'm learning AutoCAD's api and it's going pretty good. I would like to let user select some objects in model.
In model space we have few blocks (filled circles with center point). I'm iterating through the objects, and storing center points into some array (just example).
Now I would like to check if at each point I have specify object (like line, polyline, etc), so in other way - if my object is intersecting with line/polyline.
Method IntersectWith determine points between two objects, but I know (and if yes to get) if there is line/polyline at this point.
Is there any smart way to do this? Instead of iterating each block through each line/polyline?
View 8 Replies
View Related
Jul 2, 2012
I am trying to select End point of line for drawing rectangle and trying to select rectangle in PressPull command but i am not able to select in one side on other side i can do very nicely.
I am using AutoCAD 2012. first i draw floor plan in 2D . Then i switch to 3D Basic mode and i like to PressPull windows so i like to place and draw rectangle for PressPull but not able to do.
I am Attaching temp.dwg file.
View 9 Replies
View Related
Sep 7, 2011
Using AutoCAD from another drafting program and trying to determine if AutoCAD has a feature I have become used to. The program I am using is Vectorworks and they have these items called loci. They are basically just snap points that do not print and are not actually geometry. They are great though for aligning items and referencing points. Is there a similar item in autocad?
View 1 Replies
View Related
Mar 14, 2012
how do i get an image set in one coordinate system come into a drawing in another coordinate system?
View 3 Replies
View Related
Oct 4, 2012
I have a closed object and a line outside this object. I want to take anypoint on this polyline as a reference and check whether that point is lying inside the closed object or outside.
View 2 Replies
View Related
Jul 23, 2013
I encounter this.... after i select object for scaling, can't select base point.
View 2 Replies
View Related
Aug 7, 2013
I use net to select an object,and highlight it. but the control point couldn't be shown!
View 3 Replies
View Related
Oct 5, 2012
I have some objects (corridor / intersection corridor / surface / grading ...) in civil 3d 2013...When we rotate the 3d objects , object rotate pivot point about (0,0,0, or any place x,y,(z=0)..So rotated 3d object (if the Z= High value) can't be seen / can be seen as a point.
how to change the object viewer pivot point ? (not using steering wheel or zoom extents because of first time rotating objects seen so far )
View 3 Replies
View Related
Oct 25, 2011
How to delete duplicate or overlap point object? I tried with overkill command, But I didn't get output.
View 5 Replies
View Related
Jun 5, 2013
How to set a pivot point to the CENTER of a 3D object in AutoCAD 2014?
View 3 Replies
View Related
Dec 5, 2012
ACAD LT 2009, Win XP Lately a feature I am used to seeing has quit.Basically when you hover over a point of a line, a little cross mark appears and you can drag out a dashed line from that point which can be snapped to another object. Handy for finding perpendicular intersections. Whatever this is it no longer works. How do I get it back?
View 2 Replies
View Related
Oct 17, 2013
How shall I draw lines into a created surface using raw or full description of ascii file format(COGO)
for example in the imported file i have points to describe a road center line(CL),or edge of the road(ERD),breaklines(BRKL) and want lines represented by the descriptions to be drawed in the surface so that i can use the lines as guides in profiles design.I didn't want to use point number which are not serially ,and have tried to use point grouping without any success
The attached file could be of good use.
View 2 Replies
View Related
Feb 24, 2010
How do I draw perpendicular from a line or object at a specific point? I know by holding shift and osnap perpendicular I can draw the line but I can not osnap to the exact point!
View 9 Replies
View Related
Sep 14, 2012
I'm attempting to find the intersection point between a LineSegment2d Object and a DrawingCurveSegment object unsuccessfully.
View 1 Replies
View Related
May 28, 2012
I want to know how to transform OCS Coordinate of A block object to UCS or WCS Coordinate .
It's Block's OCS Coordinate not other objects.
View 7 Replies
View Related
Aug 26, 2013
I have created user defiined properties to add up to 5 inverts to a topo point object. Each consists of the direction of the invert as an enumerated list that can be picked from (N, NE, S, SE, etc) and the second is the measured distance from rim down to IE. I created these in order IE1_Dir, IE1_Meas, IE2_Dir, IE2_Meas, etc and the first time I used it everything worked fine and was in the proper order. Now after opening the drawing for a 2nd time all of the UDP's are scrambled making it a bit of a PITA to enter into the proper fields.
I do not see any logical order to why it is displaying this way as if it was in order of creation or alphebetical it would not have changed. Is there any way to correct this or is this a case of Civil 3D is going to do whatever it wants to do?
View 4 Replies
View Related