AutoCAD Inventor :: Bend Angle Macro Decimal Point (VBA)

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


ADVERTISEMENT

AutoCAD Inventor :: Bend Angle And Teeth Of Servo Horn Modelling?

Oct 26, 2011

I want to create a 3D model for a metal frame I bought commerically. To create the model in Inventor, I need to know the bend angle such as the one shown in the first figure of:

[URL]

What kind of tool do I need to measure the bend angle of the real metal frame reasonably accurately?

In Inventor, is there an easy eay to create the teeth of the servo horns?

[URL]

View 2 Replies View Related

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 View Related

AutoCAD Inventor :: Bend Table Error / Angle Or Radius Are Outside Table Boundaries

Mar 15, 2012

The angle or radius are outside the table boundaries.  I have used bend tables before and have not run into this.  See screenshot.  What I don't understand is that in the error dialog box the Thickness is correct the Radii are correct and the Angle is correct except it is showing a -90 degrees.  Is that the problem?  The negetive?  Why is it showing a negative number.  I can't change the way the part is formed.  The problem seems to be with the lower left hand curl.  It does go ahead and flatten it, but I don't trust the results when I have the three errors.

View 1 Replies View Related

AutoCad :: Arc To Stretch With Angle Of Bend

Sep 20, 2011

I draw ventilation ductwork all day at work, just recently stumbled across dynamic blocks.

Attached is what i have done so far, the straight section works perfectly, just having some trouble with the radius bend. What I need is for the arc to stretch with the angle of the bend.

TEST.dwg

View 5 Replies View Related

3ds Max Modeling :: How To Bend Model In A 90 Degree Angle

Nov 8, 2013

I'm experimenting with 3d printing and wish to create a tube system based on this vase. Im completely new with 3ds max. What's the easiest way to simply bend the entire model 90 degrees? URL...

View 2 Replies View Related

AutoCAD Civil 3D :: Spot Levels At Decimal Point

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

AutoCAD Civil 3D :: Converting Decimal Degrees To Point ID

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

Illustrator :: How To Change Decimal Point In Rotate Tool

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

AutoCAD Civil 3D :: Station Label Varies For Bend Point Between Two Similar Alignments

Jun 12, 2013

Basically I have a centerline alignment for a roadway and another alignment for a retaining wall. They both have the same bearings and a common horizontal bend point, though the wall tapers off in another direction at the end. The issue I'm having is at the common horizontal bend point, when I label my retaining wall bend point and reference the centerline I get a different centerline station than what I should be getting. It appears that when Civil3D calculates the reference station, it uses the line segment after the bend point instead of the line segment before. 

Is this dependent on a C3D setting and is it possible to change this?

View 4 Replies View Related

AutoCAD Inventor :: Adding Save Run Macro To Automatically Run Macro

Dec 30, 2012

I have been using the addin "Save Run Macro" to automatically run a macro every time the "Save" button is pressed.

Any of the following questions about "Save Run Macro"?

1] When I protect the macro from viewing (so I can protect my code) "Save Run Macro" does not see the macro.

2] When I save the part for the first time (ipt, iam or idw/dwg) the macro does not run. I always need to run the macro again.

View 1 Replies View Related

AutoCAD Inventor :: Make One Angle Half Of A Driven Angle

May 26, 2013

I have used a driven contraint in a sketch.

Can that also be done in an assembly?

In one assembly I want to make one angle half of a driven angle.

View 3 Replies View Related

Illustrator :: Bend Paths To Make 90 Degree Curve Point

Mar 9, 2013

Can I bend these paths making a 90 degrees curve pointing right so that the green line forms the inner curve with a smaller radius than the red line?

View 2 Replies View Related

AutoCAD 2010 :: Moving Multiple Objects With A Point Filter Macro?

Mar 1, 2013

I am attempting to do a macro that will allow me to select multiple objects and then move them in only ONE axis. For example, If I want to move a wall, the door and the window in the Y axis to align with another wall across the hall. I have attempted to do this in a button macro, but so far its limited. Here is the macro

^c^c_move;\.xz;@;

This will allow me to click the customized button, then select ONE object by a displacement, and it will only move it in the Y axis and allows me to choose the point with a mouse click of the final location.

When I try to select more than one object, it kicks me ahead in the commands and prompts for (needs Y). how I can figure out the correct macro?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Angle Of Polyline Segment At Specified Point

Mar 19, 2013

I am writing a routine that will place a piece of text at a specified point along a polyline. My problem is to determine the angle for the text. It needs to be the same as the segment of the polyline that it falls on. Just can't get my head around how to get that angle?

I can get a list of the vertex point of the polyline, but how do I determine the segment the point falls on?

View 3 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

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

Photoshop :: Angle Point Of View

Apr 12, 2009

How to change the perspective of a picture so it looks like you are looking on it from an angle?

Im using photoshop 7.0 and, if necessary, have access to photo CS2.

View 3 Replies View Related

AutoCAD Inventor :: How To Change G_L Parameter From Decimal To Fraction

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

AutoCAD Inventor :: Covert Decimal To Fractions In ILogic?

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

AutoCAD Inventor :: Decimal Precision For Retrieved Dimensions

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

AutoCAD Inventor :: How To Change Decimal Separator In Fx Parameters

Aug 31, 2011

How do change the decimal separator from point to comma(in model and FX-parameter)

View 1 Replies View Related

AutoCAD Inventor :: Using Decimal And Fractional Dimensions On Same Sheet

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

Illustrator :: Convert Anchor Point To Right Angle?

Jan 21, 2014

I would like to select an anchor point and adjust it so that it creates a perfect right angle. How can I do that?
 
Imagine some closed, filled shape, made up of a dozen anchor points. I would like to select one of those anchor points (a corner anchor point, not a smooth anchor point), and adjust it (built-in function? script?) so that it create a perfect right angle (90 deg.). This essentially would mean moving it to just the right spot so that the lines connecting it to its two neighbouring anchor points would form a right angle.
 
do not assume that the resulting right angle would necessarily be orientated along a North-South axis, or any other rational compass direction.

View 33 Replies View Related

AutoCAD Inventor :: Balloon Quantity (length) To 3 Decimal Place

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

AutoCAD Inventor :: Rounding Decimal Dimensions To Nearest Fraction

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

AutoCAD Inventor :: Why Does Round() Require Object For Decimal Places

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

Paint.NET :: Drawing Line Using Start Point And Angle

Oct 19, 2012

When I draw a line, is there a way to say, "Start at point (864,0), go exactly 270° down (actually, I can hold down the shift key for that, but I digress...) and end at the other side of the canvas at point (864, 3456)?

A script would probably work well, but I've never dipped into that.

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 Inventor :: Round Decimal Dimension Values To Nearest 1/16"?

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







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