AutoCAD Inventor :: ILogic Inputbox / Only Decimal Value With Comma Not With A Point
May 14, 2012
I did, a couple of months ago, a part with a rule containing some input boxes. It worked without a bug and set it as a specific template, on Inventor 2012.
I tried to reuse it as a template without changing its rule on Inventor 2013. When the input box pops out and ask the value it needs, if I type "0.2" it says that "string's conversion "0.2" in a 'double' type isn't valid". But if I type "0,2" I have absolutely no problems.
Work on widows 7
Autodesk design suite premium 2013 french.
View 7 Replies
ADVERTISEMENT
Aug 8, 2012
I found out that if you have a dimension that is keyed you cannot use the custom property format in the fx. so how do I get ilogic to convert to fractions rounded to a 32nd.
When I put this (see below) in my code it changes my custom iproperty to a yes-no
fractionString = RoundToFraction(Dim_F, 1/32, RoundingMethod.Round)
Here is my code that drives my table in a drawing but the dimensions come as decimal and I need fractions.
If Hole_F_Type = "NONE" TheniProperties.Value("Custom", "F")= "-"ElseIf Hole_F_Type = "2-Hole" TheniProperties.Value("Custom", "F")= Parameter("Dim_F")ElseIf Hole_F_Type = "S1" TheniProperties.Value("Custom", "F")= "S1"& "-" & Parameter("Dim_F")ElseIf Hole_F_Type = "S2" TheniProperties.Value("Custom", "F")= "S2"& "-" & Parameter("Dim_F")ElseIf Hole_F_Type = "S3" TheniProperties.Value("Custom", "F")= "S3"& "-" & Parameter("Dim_F")End If
View 1 Replies
View Related
Dec 11, 2013
I have a short macro to add the compliment angle to all the bend angles on an Inventor 2014 drawing. I want it to always show one decimal point on the compliment angle, but if that would be '0' then it doesn't show it. I.e. in the attached picture I want it to be 58.0 (122.0) DOWN.
Sub Test()
Dim oDoc As DrawingDocument
Set oDoc = ThisApplication.ActiveDocument
Dim oView As DrawingView
Set oView = oDoc.ActiveSheet.DrawingViews(1)
Dim oNewDimStyle As DimensionStyle
Set oNewDimStyle = oDoc.StylesManager.DimensionStyles.Item("RASOR")
[code]....
View 6 Replies
View Related
Apr 5, 2013
e.g. 25,00mm instead of 25.00mm.
I have a huge list of drawings I need to apply this update to. Updating Styles isn't really an option as we haven't enough consistency in the styles we have used.
Inventor 2013 Certified Professional
Autodesk Inventor Professional 2011
Windows 7 Enterprise, 64-bit
View 3 Replies
View Related
Oct 17, 2011
I'm relatively new to AutCAD map 3d but I've used arcGIS a while back.
I have existing roads, towns etc data that are already set to UTM 17. I want to import ascii point coordinates (from a comma delimited file) into the file. I can import the ascii coordinates as points fine (easting and northing), however the points come in as the absolute coordinates rather than geometric coordinates. I already set the files for right geographic projections. Beyond manually inputing the coordinates into the coordinate tracker, is there a way to import the coordinates form the file set for the geometric coordinates?
View 2 Replies
View Related
Apr 29, 2013
I've got a cut./fill plan with red and green surface spot level labels (derived via a grid) but wonder if there is a way to make the decimal point coincident with the with "X" marker.
View 2 Replies
View Related
May 15, 2012
Is there a way to convert decimal degrees to a point id? I have tried inputting the decimal degrees in as point but land no where close to the coordinate it should.
View 3 Replies
View Related
Nov 19, 2013
Descriptions are the hardest part for me to change???
I see a hotfix but for 2011. I have Inventor 2012 ......
View 5 Replies
View Related
Jul 11, 2012
I would like to use iLogic to find the location of the points of a line, determine if the line is approximately vertical, and apply a vertical constraint if it is vertical.
Here is the code process I envision:
1. Automatically select a straight line.
2. Find the location of its end points.
3. Compare the X-value of the end points to see if they are vertically aligned (or almost so).
4. If they are vertically aligned, apply a vertical constraint.
5. Select next line and repeat.
Is this possible with iLogic? I don't see any way of calling a line's sketch points or finding their location.
View 4 Replies
View Related
Mar 4, 2013
I'm trying to get the point location of a mouse click in an Inventor drawing using an iLogic Rule. Any examples of using mouse events in iLogic?
View 9 Replies
View Related
Nov 28, 2012
I caught this error in Inventor 2013.
See attached
View 3 Replies
View Related
Oct 16, 2013
I use the rotate tool to design gauges, like clocks, a lot. I hold the ALT button and click on the center of my drawing and then a window pops up to enter in what degree I want my object to be. Currently the decimal point only allows for hundredths, ex. 45.25 degrees. Is there any way to change this to thousandths or even higher, ex. 45.25125? I've attached a screenshot to show you what I mean.
View 3 Replies
View Related
May 3, 2012
When I save to acad my Dia dimensions are changing to a 4 place decimal. My radius dims stay the same.
INV 2009 SP 2.
View 1 Replies
View Related
Nov 14, 2011
Is there a way that i can Double Dimensioning? as to have one dimension in decimal and one in fraction all in the same dimension line?
Im using 2011 RS
View 1 Replies
View Related
Jul 18, 2012
Is there a way to set the decimal place for the columns in Autodesk Inventor 2011? I have a length column I am trying to use for the p/n but I need it to be 2 places and they show up from zero to 4 dec places. I have set it inside excel but it never retains the setting.
View 9 Replies
View Related
Dec 2, 2011
How to change the G_L parameter from decimal to fraction (1/16)? I've attached some screenshots.
View 9 Replies
View Related
Sep 21, 2011
I have had a problem with retrieved dimensions decimal precision. I set the precision to 1 decimal place in the ipt but when I retrive the dimension it set the precision to 3 decimal places. I then go to the precision control in the drawing and change it to 1 decimal place.
If I then go back to the ipt and edit the dim, the drawing precision then jumps back to 3 decimal places. (This is particular to the decimal precision for the tolerance of a dimension). How to sort this out?
View 1 Replies
View Related
Aug 31, 2011
How do change the decimal separator from point to comma(in model and FX-parameter)
View 1 Replies
View Related
Dec 28, 2011
At our plant we try to place all the parts for an assembly on one drawing. i am now working on an assembly with most of the components being fabricated in the shop and using fractional dimensions. However there are a couple of parts that will be machined and should be dimensioned with decimals. When I select a dimension and attempt to alter it it changes the dimension style of the entire drawing. Is there a method of changing only the desired dimensions and not all of them? I could use dual dimensioning and maybe hide the undesired set but I don't know if that would work either.
View 3 Replies
View Related
Nov 18, 2011
I have a piece of steel from the content centre 165mm long. The balloon (stacked format) quantity reads 165.000mm. I've had to format the parts list to get rid of the decimal places but I can't find a way of getting rid of them in the balloon. Any format setting somewhere?
View 4 Replies
View Related
Dec 9, 2011
Way to round decimal dimension values to the nearest 1/16"? For instance, 43.0599 would display as 43.0625 (On a drawing). Tried playing with tolerances, but thought it would be better addressed as customization.
View 7 Replies
View Related
Sep 5, 2012
Why does the Round() function require that the number of decimal places be either a number or an object if you want to use a variable? It seems that a Single should work here, but iLogic won't accept it.
See sample code below which is rounding off dimension values. If I dim the variable "somenumber" as Single or Double, I get this error message from the Round() function: "Overload resolution failed because no accessible 'Round' can be called without a narrowing conversion."
When I dim "somenumber" as an object it works, but this seems unnecessary when all it is storing is a single digit number. Why wouldn't Single or Double work for this variable?
Here's the code snippet:
'Dim Current Sketch & Count Constraints
Dim oSketch As Sketch = ThisApplication.ActiveEditObject
Dim oDimCount As Single = oSketch.DimensionConstraints.Count
[Code]....
View 3 Replies
View Related
Aug 19, 2013
how can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies
View Related
Jul 14, 2012
I'm using ilogic to automatically build standardized descriptions that are linked to a field in our PDM system for future searches. The problem is that the variable "Length" (shown below) can sometimes be a whole number so it drops the trailing zeros and I want it to always be a two decimal value.
Formula:
iProperties.Value("Custom", "2ND_SUBTITLE")=CStr(ID)+" ID x "+CStr(OD)+" OD "+CStr(Round(Length, 2))+" LG"
Computed String Value
2.701 ID x 3.253 OD x 8 LG
View 1 Replies
View Related
Jun 14, 2006
Way to round decimal dimension values to the nearest 1/16"? For instance, 43.0599 would display as 43.0625 (On a drawing). Tried playing with tolerances, but thought it would be better addressed as customization.
View 2 Replies
View Related
Sep 13, 2013
I have a couple of strange angles and moving parts going on in an assembly. there is 1 constraint i am happy for inventor to predict the offset for. the problem is I am using other constraints i later want to bin, to pin it in position then try to apply this constraint. it looks like the predict offset tick box only measures to 3 dp, so as soon as i apply this constraint my model goes sick. I have to take a measurment and copy and place the measurment with all dp's into the constraint to make it work.
Is there a setting to specify the predict offset number of decimal places?
View 4 Replies
View Related
Jul 10, 2013
This happens every time I save as to dwg, it's very annoying.
View 3 Replies
View Related
May 30, 2013
Setup or style expression that will take a field in a shape file that is defined as an integer and display it on a map with comma's for the 1000 maker (ie. 5913240 as 5,913,240).
I am using AutoCAD Map v2012 (can use 2013 if it has anything built in)
View 1 Replies
View Related
Nov 15, 2012
I need to find a way how to insert a point or a * on the center point of a hole and put it on a different layer. The reason for this is - I am a CAD tech for a welding shop and we cut parts out of steel and we use the dxf file format for our plasma table to cut parts. For example : if i have a 1 inch thick plate and want to put a 3/4'' hole in the plate the hole will be distorted because the hole is smaller than the material thickness. For these situation we can use the plasma table to burn a point or a dot on the center point of the hole. But to do this the point or dot must be on a different layer in the dxf.
View 2 Replies
View Related
Sep 5, 2013
I used to enter decimals with the dot key. On my new environment (new computer, new version of Illustrator), it no longer works. I would like to use the comma key instead. What may be the way to enable it? Some editing on Window's international options?
I'm working on Illustrator CC (64 bit), Windows 7.
View 5 Replies
View Related
Oct 29, 2012
Is there a way to force CQL to process a ' " ' as an useable character ?I am trying to do a CQL search for text with that the double quote in it.
View 13 Replies
View Related