AutoCad :: Area Function Gives Wrong Result
Feb 17, 2013
I have a simple rectangle 17.619units x 1.499units = 26.41units². The units are supposed to be meters.
Why does the area function (Home, Utilities, Measure, Area) give a result of 423.3422? I don’t know what units this is in.
I have tried this on several rectangles and all come out with a strange result.
This is a drawing I have inherited. When I do the same thing in a new drawing or one of my own drawings the result is correct.
View 4 Replies
ADVERTISEMENT
Dec 11, 2011
My measure function doesn't displays anymore the result on screen but in the command lines. What must I do to make it back to normal again?
View 2 Replies
View Related
Jun 10, 2013
Why is this so and what can I do?
I use several scripts in Illustrator. Some of them I use in this way: [URL] ....
Now I tried to built in two other scripts in the palette. In this scripts it is required to use special characters in variables. Standalone these scripts are work correct. Here is an simple example:
// exampleScript.jsx
var a = 'u201d'+" example "+'u201d';
alert(a)
I get this (correct) result:
But when I call this example script with bridge talk:
var scriptToLoad = new File(pathToScript + "/exampleScript.jsx");
var win = new Window('palette', 'own palette');
var btnSelect = win.add('button', undefined, 'example');
[Code] .....
Here is the same script and the wrong result:
View 9 Replies
View Related
Apr 5, 2011
Autocad 2011 and 2011 LT both give the wrong area for sertain polylines. While Autocad 2005 gives the correct area.
Its terrifying how many official documents may be wrong because of this bug.
View 9 Replies
View Related
Jun 15, 2012
How do I keep the fill ON the object that gets selected so I know not to pick it again as move through the drawing?
How /or/ where can I get a listing of my SetVars.
Running the Setvar (?) command doesnt offer a description for each?
View 1 Replies
View Related
Oct 25, 2013
This seems absolutly silly.
(setq p1 (getpoint))
(setq p2 (getpoint))
(setq Dist (distance p1 p2))
Why does this not work?
I'm trying to build a command to replace AutoCAD's "DI" command, to give distance and delta x, y, and z values in decimal and imperial, and keep the angles in XY plane and out of XY plane.
View 9 Replies
View Related
Nov 13, 2012
I'm trying to be able to have a function run another function with the secondary function being passed as an argument to the first. I'm trying to create a recursive function and the recursive part works great. I just need to be able to have the recursive function run other functions to actually do stuff.
Here is something I found that should do what I need, mainly run a function from a function name in a variable.
Sub test() Dim ftnName As String Dim argument As String Dim result As String ftnName = "myFunction" argument = "cat" result = Application.Run(ftnName, argument) MsgBox resultEnd SubFunction myFunction(inString As String) As String myFunction = inString & " has " & Len(inString) & " letters."End Function
However I get the error "object required" on the "result = Application.Run(ftnName, argument)" line. So I'm guessing the Inventor VBA doesn't like this method of doing this. I'm just hoping there is a way to do this or this function will be useless or reduced to hardcoding functions which still defeats the purpose.
View 2 Replies
View Related
Apr 6, 2009
I've recently migrated from AutoCAD 2008 (non-industry specific) to AutoCAD 2010 so I don't know if this was an issue in 2009.
Back in 2008, when I choose the 'window' option when specifying a plot area, AutoCAD would show the workspace so that I could manually select a windowed plot area, and at the same time the whole workspace would be greyed out except the previously active window area.
This was handy, because we can have as many two dozen title-blocks (and therefore separate viewports) in paperspace, and knowing what plot area I last plotted or added as a saved page setup.
In 2010, it no longer does that. I now have to rely on the dashed border to know where the active plot area is/was (checked 'display printable area' in options>display tab) which I personally don't really like using.
View 9 Replies
View Related
Oct 23, 2012
How to changes the settings for the "Square Area" in mapcheck's closure summary. When I right-click the dwg name in the Settings tab of Toolspace and choose Edit Drawing Settings, then Ambient Settings, I see the Area settings, but in the closure summary, there is also "Square Area". Why are these both there? It WOULD be nice to show sq. ft. as well as acres, but I can't find anywhere to edit it.
Civil 3D 2012
Windows 7 Enterprise SP1
Dell Precision T3400
(Q9550 @ 2.83 GHz)
8GB RAM
Nvidia Quadro GTX 650 Ti BOOST
View 2 Replies
View Related
Oct 12, 2011
I want to know if there is an easier ACAD solution for drawing. In the given triangle of ABC (sides and angels are known) I want to draw line CM so that the area of BCM becomes 2000 cm (are of ABC is 5311.7 cm3).
Is there an easy ACAD way for drawing this line without using trigonometry for calculation?
View 6 Replies
View Related
Apr 14, 2013
I need to determine whether an area intersects with another area.The left case can be easily determined by Polyline.IntersectWith(Polyline...).But in the right case, the two polygons intersect/overlap each other while polylines do not intersect.
What would be the efficient way to determine the right case polygons are intersecting polygons?
View 8 Replies
View Related
Feb 23, 2012
Same hatch properties but different result! How come?
In the screenshots below, I got a hatch of the same properties, but the output in the screen is different!
Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.
View 9 Replies
View Related
Apr 9, 2013
I would like AMAP to perform a BUFFER operation on a certain SHP, so the resulting buffer polygons would get the table attributes from that original shape, and also be exported as a SHP.
It is mandatory that a buffer polygon will have the same attributes from the original SHP line, including its FeatID.
Is it possible?
View 2 Replies
View Related
Sep 27, 2012
I am using jig to get orientation angle of a block reference by below steps.
Dim rot As RotateBlockJig = New RotateBlockJig(br, ucsRot) Autodesk.AutoCAD.Internal.Utils.SetFocusToDwgView()Dim pr As PromptResult = ed.Drag(rot)
How to find whether the return angle value is by
i) 'mouse click on drawing area'
or
ii) 'keyboard entry on command prompt'?
View 1 Replies
View Related
Nov 3, 2013
I have some issue in Trim command,.
(Please see the attached picture before read the below steps,.)
generally, I use trim command like this,.
Command: tr (enter) (enter)
select object: (I will select object which I need to trim)
it gave the results shown in the picture named "Earlier result"
But now I am getting differently like "current result"
But Earlier result is comfortable for me,.
Is this because of setting problem?
View 2 Replies
View Related
Jul 18, 2013
I have a function programmed in vb.net that controls the opacity of parts in the active view. If the user is selecting objects and then starting the program the "non-Selected" Parts are disapearing step by step.
That's looking very interesting, but doesn't supports the user . Is it possible to freeze the active view of inventor and refresh it, when the job is done? So the user will only see the result of the process and not the working process.
View 4 Replies
View Related
May 10, 2012
As you could already read in the headline of this topic, I'm getting two diffrent results from Inventor.File.ReferencedFileDescriptor with the Inventor 2010 API and Inventor 2012 API when I'm trying to get some information from the same Inventor file!
In my case the FullFileName and therefore the ReferenceMissing property get's me different values, although it's exactly the same Inventor file and exactly the same source code.
How could this happen? Any changes for the ReferenceFileDescriptors object from API 2010 to 2012?
I don't get it....
View 2 Replies
View Related
Feb 21, 2013
I'm taking over some code from a developer that is no longer here. Right now when the code saved a resultbuffer object to xdata, I get an eregappidnotfound. Due to various forums, I believe this is because the ID is not being registered with the database before it's being inserted.
The error is thrown on this line: XData.ToXData(partCollection);
using (Autodesk.AutoCAD.DatabaseServices.DBObject dbObj = t.GetObject(objId, Autodesk.AutoCAD.DatabaseServices.OpenMode.ForWrite)){ DeviceName.SetDeviceName((Autodesk.AutoCAD.DatabaseServices.BlockReference)dbObj, txtDeviceName.Text);
dbObj.XData = XData.ToXData(partCollection); t.Commit();}
The code for the ToXData function is here:
public static ResultBuffer ToXData(PartCollection Parts) { //Write out some header information ResultBuffer rb = new ResultBuffer(new TypedValue(System.Convert.ToInt32(DxfCode.ExtendedDataRegAppName), XDATA_APP_NAME), new TypedValue(System.Convert.ToInt32(DxfCode.ExtendedDataInteger16), XDATA_TYPE), new [code].......
View 2 Replies
View Related
Nov 29, 2012
I have 3 iLogic Rules that I use with my idw's,
1-SCALE - is to update scale in the title block
2- WEIGHT - is to update weight of model in title block
3- PDF - is to create a pdf version of drawing in same location as idw
all are triggered by saving the drawing.
These work fine, but sometimes when I create specific types of drawings there is errors, which is no big deal, just a prompt appears and I press ok and everything is fine.
With very little to no iLogic programming knowledge, is there a way to edit to rules so that if there is an issue, the rule knows it is ok and saves without the little prompt appearing?
Example of when errors occur for:
SCALE - sometimes I create drawings on my template just using create sketch, I don't place a base view so therefore there is no model information. which makes it hard to produce a scale. (see image, error -1)
WEIGHT - occurs during the same instance as above, only a sketch is saved on the idw. (see image error -2)
but I also have an error occur when creating a drawing from a presentation file. I create a presentation file from a specific level of detail from an assembly. and I get an error when saving . (see image error-3)
I understand the first 2 errors because there is no physical data to get this information from, so I am hoping an edit to the rules can bypass this issue. But the 3rd error doesn't make sense. It is from an actual model, but I guess the physical properties get lost from an .iam to .ipn?? or is there a setting that can be toggled to carry over model properties?
Inventor Pro 2013
Rules are below:
'Scale
Public Sub Main()
On Error Resume Next
'Get the drawing document
[Code]....
View 6 Replies
View Related
Sep 17, 2011
Why my result from stress analysis isn't symmetry?I am modeling a telescope support system. The result I got from the analysis always not symmetry, the difference is very small therefore I think the test setting shouldn't have any major problem.
The difference could be cause by the round off during the simulation, if I am right about it, is there anyway to improve the result?
View 2 Replies
View Related
Apr 4, 2013
Is there any possible way to enter a G Code into AutoCAD to end with the result of a 2D drawing of what my CNC has made? I have the code from the machine, and am not sure how to input it into the program to draw the face the CNC has cut out.
View 9 Replies
View Related
May 17, 2012
I modeled a sheetmetal part, saved it and then did a save as to make a similar part. I changed a couple dimensions and when it updated it chnaged it's orientation. Playing with the EOP marker reveals the refold feature, the last feature in the model, to be the culprit. I tried reentering the stationary reference, and I tried deleting and recreating the feature.
View 1 Replies
View Related
Mar 29, 2013
I can get length, width, height information from part or assembly below Visual Basic Express 2010 code.
Everything is perfect. But if any plan or axis visible in document than results comes wrong! I think box object calculating the dimensions not only according to raw part. It adding the axis or plan dimensions to the result!...
Dim invDoc As Document
invDoc = Form1.invDocumentTakas
Dim dLength As Double
Dim dWidth As Double
Dim dHeight As Double
[code]....
View 3 Replies
View Related
Sep 10, 2012
I am setting up a table to automatically calculate plumbing fixtures based on occupancy count.The problem I have is creating a formula for plumbing fixtures for B occupancy where toilets are required at 1 per 25 for the first 50 occupants and thereafter 1 per 50 occupants. (International Building Code)
A simple formula for 1 at 25 would be "value/25" whereby the value would be a cell content (occupancy number).
Taking this further with a formula like "(value-50)/50+(value/25)" works fine as long as the value (occupancy) is greater than 50.
If the value is less than 50 the first part of the formula (value-50)/50 creates a negative result.
Is there a way to convert a negative result of the first part of the formula to a 0 (zero)
View 3 Replies
View Related
Sep 10, 2012
I am setting up a table to automatically calculate plumbing fixtures based on occupancy count.
The problem I have is creating a formula for plumbing fixtures for B occupancy where toilets are required at 1 per 25 for the first 50 occupants and thereafter 1 per 50 occupants. (International Building Code)
A simple formula for 1 at 25 would be "value/25" whereby the value would be a cell content (occupancy number).
Taking this further with a formula like "(value-50)/50+(value/25)" works fine as long as the value (occupancy) is greater than 50.
If the value is less than 50 the first part of the formula (value-50)/50 creates a negative result.
Is there a way to convert a negative result of the first part of the formula to a 0 (zero)
I know this is possible in Excel with the "max" function
View 2 Replies
View Related
Oct 15, 2012
After simulation the result won't show colors in the part.Is this a bug ?
Autodesk Design Suite ultimate 2013
View 2 Replies
View Related
Jan 24, 2012
I am almost sure this is not possible in AI but I will ask it anyway:
is it possible to assign value of parameter as a result of non linear equation?
for example I would need parameter x to meet the equation
cos^2x+Ax+C=0
where A and C can be other fixed parameters.
View 4 Replies
View Related
Sep 10, 2012
I have annoying problem that happens ones in a while. when starching lines i use to select the blue point, type a number and have the line extend or trim respectively.
For example , line which is 40 and i want it to be 60 ill click the blue dot, move the mouse in the direction i want and type 20.
Right now if i do the same the length of the line become 20.
View 1 Replies
View Related
Sep 26, 2012
Whenever I try and extrude or emboss my buisness Logo I get the error "The attempted operation did not produce a meaningful result"
I have attached file.
View 3 Replies
View Related
Sep 19, 2011
Photo editing. How do I select an area within a .jpeg image so I can blur that selected area?
View 2 Replies
View Related
Sep 19, 2012
See attached file.
How can you do the area takeoff of only the selected faces (red area)?
Right now I have to use the 3rd party software to do something like this. I'm curious if there's a way to do inside Revit?
View 5 Replies
View Related