3ds Max :: How To Return Number After Decimal Only

Oct 12, 2013

Question.

I have a number like 4534.3245
If I say
4534.3245 as Integer
I get 4534  thats fine.

Is there an easy way in maxscript to return the number after the decimal only no matter what it is? like saying: 4534.3245 as fraction returns .3245?

With the numbers I am dealing with the integer part could be any size and fraction decimal section could be any size so I am hoping for a general rule or method for getting that after decimal number.

when I try things like formattedprint there is a rounding off happening changing it to .3245 to .3247 and more digits added etc but I dont want all that because it is changing the value of the number before I have even done anything with it. Maybe their is a formattedprint method but I am not seeing it.

View 1 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: ANGTOS Return Accurate Result For Number If Decimal Places Requested

Jan 5, 2012

I work with ANGTOS and ANGTOF quite a bit.  I'm working with latitude and longitude conversions in MAP 3D for an application where accuracy is top priority.  Most of the time ANGTOS (and RTOS, for that matter) return an accurate result for the number if decimal places requested, but then I run into a situation like this:

Command:
(angtos (angtof "120.0") 1 16)
"119d59'59.999999999949""

I got it to return properly by specifying only 13 decimal places, but the result makes conversion between coordinate systems inaccurate.

View 1 Replies View Related

AutoCAD Inventor :: Setting Decimal Precision For Text Derived From Number

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

AutoCAD Civil 3D :: How To Change Number Of Decimal Places Of Elevation Of Points

Mar 15, 2012

How to change the number of decimal places of the elevation of  points?

as the points are labeled with their elevations, I couldn’t find how the number of the decimal places of the elevation be chosen. In this case, I wanted to let the number of the decimal places to be zero.

How to set the number of the decimal places to be zero or 1, for example? how to sepcify it height (size)?

Screenshot below.

View 6 Replies View Related

AutoCAD Inventor :: Setting To Specify Predict Offset Number Of Decimal Places?

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

AutoCAD Civil 3D :: Unable To Change Number Of Decimal Places In Elevation Label

May 7, 2012

The defaul label style for the Elevation of points is set to 3 decimal places. We are trying to change the elevation display to 2 decimal places. We have tried the directions in the following discussion: [URL].......

Which is:

Toolspace

->Settings
-->Drawing name
--->Edit Drawing Settings
---->Ambient Settings
----->Elevation
------>Precision -> We modify from 3 to 2 decimal places.

It does not modify the display settings.

Also:

Toolspace

->Settings
-->Drawing
--->Point
---->Label Styles
----->(right-click) Edit label styles
------>Layout
------->Text
-------->Contents
--------->click on the "..." (three points) button

(Open "Text Component Editor - Contents"

--------->Select Point Elevation in the driop down list.
---------->Precision: Set to 0.01
------------>Ok, Apply, etc...

This does not seem to work either.

View 3 Replies View Related

AutoCAD 2010 :: Synchronize The Layout Number With Sheet Number?

Mar 28, 2012

How to “synchronize” the ‘layout number” with “sheet number”?
 
As in most cases, the arrangements of “lay outs” reflects the way they are regularly printed, then how could we renumbering the sheets such that the first lay out takes number 1, the second lay out takes number 2,…and so forth.
 
For example, in the screenshot below, the

Software: AutoCAD 2014, AutoCAD C3D, AutoCAD M3D, Revit
Windows 7 (Ultimate 64 bits),
Firefox 20.0,
Kaspersky 2013.

View 2 Replies View Related

AutoCAD Map 3D :: Imperial To Decimal

May 20, 2012

I have drawn a model using imperial units, at a scale of 1:1. When I switch the units to decimal, the unit factor remains the same, eg 5" shows as 5mm.

Is there a setting anywhere that would automatically show 5" as 127mm, or do I need to scale my model by 25.4.

View 3 Replies View Related

Illustrator :: Pie Charts With Decimal

Feb 5, 2014

I must make some Pie Charts at work, and the data is in a Excel file. Of course all Values are in decimal for a 100% value:
 
25,611,30,58,510,715,410,46,80,63,91,94,4 

Now i realized, that Illustrator can't work with decimal? But that's wrong! The values are exactly 100 (%). Where the gap comes from? So i goggled it and find out, that this bug exists since CS2 (i have CC)! The wrong solution is to clear manually all decimal commata:
 
256113585107154104686391944 

Then it works as usual, but this workflow is not a pro solution!A coworker made this datafiles in hours, and then another worker delete this again?

View 9 Replies View Related

AutoCad :: Drawing Lines In Decimal

Mar 14, 2012

I am having trouble with drawing lines in decimal. My length is Decimal, insertion scale is feet. So say I wanted to enter 21 inches in feet. I just click to draw my line, then use 21/12 as my input for length. That works fine. But when I have a line that I want drawn at 21.5" (I enter 21.5/12), it won't work, saying point or option keyword required.

View 4 Replies View Related

Illustrator :: Artboard Sizing To The Decimal?

Mar 24, 2014

Is there a way to size without Illustrator CS6 rounding up? example, I need my document to be 3.625 x 2.125" to output a file to a printer and illustrator keeps rounding up to the third decimal 3.63, Is there any way around this? I found going back to CS3 works but all my files have conversion issues opening that far back.

View 3 Replies View Related

Photoshop :: Cs5 - How To Return To ACR

Mar 19, 2013

I have working in CS5. I opened the programme in ACR to Photoshop and would like to know how I can return to ACR from Photoshop.

View 2 Replies View Related

Photoshop :: How To Change Rulers To Decimal Inches In CS6

Feb 23, 2013

In CS6 how do you changes rulers to decimal inches

View 3 Replies View Related

AutoCAD 2010 :: Decimal Units And Plotting

Dec 13, 2012

So we have started some work overseas and I have been trying to make sense of the metric units in CAD. Metric units in general, make way more sense then imperial units but how they work in CAD has been confusing.

I am familiar with the UNITS command and have changed the drawing units to "decimal" and the insertion units to "unitless"

I know that when you draw a 1 unit line in model space it could represent a 1 millimeter line or a 1 meter line and that it is up to the drafter to decide what it will be. I also am familiar with setting up dim styles to dimension correctly based off of whether you are drawing in meters or millimeters.

I have set my Adobe pdf printer to A1 23.4" X 33.1" (594mm x 841mm). when I draw a 1 unit line in paper space and print the layout the 1 unit line measures 1 inch?

View 2 Replies View Related

AutoCAD 2010 :: ID Command Decimal Places

Mar 12, 2013

I am running AutoCAD Map 3D 2011. When i use the ID command to acquire x,y coordinates by snapping to an object, it gives me only one decimal place. When i do the command out in space, it gives me 4 decimal spaces. I need to get at least two decimal places while snapping to objects. Examples below:

id command (out in space, not using osnap)

X = 4006431.3366     Y = 359556.5635

id command (snapping to entity)

X = 4006252.3000     Y = 360712.5000

by the way, my units precision is set to .00 and it doesnt seem to make any difference with the id command.

View 4 Replies View Related

AutoCAD Inventor :: DIA Dimensions Changing To Decimal

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

AutoCAD Inventor :: Dimensioning - Decimal / Fraction

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

GIMP :: Ruler Defaults To Decimal Inches

Jan 8, 2013

When I set the ruler to inches, I get divisions that divide by 10 such as 1.1, 1.2 etc inches.

Is there a way to set it so the divisions are set to 8, so each division between the inches are based on 1/8th of an inch?

View 6 Replies View Related

AutoCAD 2013 :: Dimension - Decimal In Apex

Jul 31, 2013

Is it possible, when I dimension, to have decimals in apex?

View 7 Replies View Related

AutoCAD Architecture :: Dimensions In Decimal Of A Foot?

Sep 4, 2012

How to get 20'-0" in a dim text to read 20.0' with out scaling down 12 times?

View 3 Replies View Related

AutoCAD Map 3D :: How To Change Decimal Numbers From Text

Dec 15, 2013

I have an AutoCAD map 3d 2014 .dwg with points that have object data and Easting, Northing and elevation values.

I am displaying the text of those points in particular the elevation value. This is done through task pane>data>add drawing layer>add style>text...

I hit the properties and select the Z1 from the object properties...

All is well and the text comes as e.g. 24.89752

The above number is accurate, however, I only want two or three decimal points since the number is too long.

Is there a way to reconfigure this so that the number is displayed as 24.89?

View 4 Replies View Related

AutoCAD Inventor :: Set Decimal Place For Columns

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

AutoCAD Civil 3D :: How To Get Four Decimal Places Back

Sep 26, 2012

I have used stringer connect in the past and it seemed that my traverse shots (which went to four decimal places 0.0000) that were in my raw file were converted to a fbk file and it held the decimal places.  Now when I use it, the program rounds my shots to three decimal places (0.000) which changes the locations just slightly.  I don't think I changed any settings deliberately.  How can I get my four decimal places back?

View 3 Replies View Related

AutoCad :: Displaying Dimensions In DECIMAL FEET?

Jul 29, 2011

I have have to use a program to do these hydraulic counts that must be done in decimal feet. So, what I want to be able to do is when I make a dimension that is 12'-8" for example, that it read 12.667.

View 6 Replies View Related

AutoCad 2D :: Changing Dimension Decimal Places?

Jan 17, 2013

My professor wants all of our dimensions to have 2 decimals places except for a few that he wants to have 3 decimal places. How do I change those few to have 3 places while everything else has 2?

View 1 Replies View Related

AutoCad 2D :: Dimension Style - Decimal Inches

Oct 31, 2012

Is there any way when I am dimensioning something to make it read feet and decimals of a foot for instance.

Instead of it reading 5’-6 9/16” it would read 5.546875’?

I tried a few different things on the dimension style and I can get it to read out in decimal inches (it would be 66.5625” with the example givin) but not feet.

The reason I need it is for a program that we run where we must enter the measurement in decimal feet

View 5 Replies View Related

AutoCad :: Convert Coordinates To Decimal Degrees

Feb 22, 2011

I have a dxf file from a client created using autocad. What these coordinates mean -40 558.37E and -46 244.43 N. These are UTM? I need to convert to decimal degrees. How do I do this?

View 9 Replies View Related

Illustrator :: Change Decimal Places Default?

Mar 20, 2013

I'm wondering if it's possible to change the decimal place accuracy to default to only rounded numbers i.e. 1mm instead of 1.325. I want EVERYTHING to snap to the nearest mm (Axis, Dimensions etc.) rather than 1.233 for example.
 
Yes, I can manually type into the dims / axis boxes everytime but thats a chore.

View 3 Replies View Related

Illustrator :: A Brush Size / Variation Not Be In Decimal In CS6

Jun 26, 2012

In Illustrator CS5 calligraphic brush could be decimal e.g. 0,5pt size as on the screenshot:

But new Illustrator CS6 always rounds the value to integer.

The appearance of the brush seems to stay the same but it becomes impossible to change it anyhow.

Is this a bug? How can I use my previous brush settings?

View 7 Replies View Related

Photoshop :: Return 3D Layer To CC From VP

Feb 26, 2013

I've got another 3D question today. Why is it that when I create planes in Vanishing Point (in this case, 2 walls and a floor) and check off "Render Grids to Photoshop" and "Return 3D Layer to Photoshop" that the grids and planes almost never line up with each other? Is it something I'm doing wrong in VP?
 
Some may already know that I'm a designer/illustrator/digital artist that is frequently building 2D/3D room settings for a client, and always looking for the quickest and most efficient way to achieve accurate perspective within the rooms.

View 17 Replies View Related

AutoCAD .NET :: Return AssocVariable By Name

Feb 15, 2012

Is there a way to get an AssocVarible by specifying the name of the variable rather than iterating through all the Actions returned by the AssocNetwork.GetActions property?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved