AutoCAD Inventor :: ILogic Calculating Math Functions (Tan / Sin / Cos) Incorrectly

Sep 2, 2013

ilogic is calculating tan/sin/cos/aTan/aCos/aSin incorrectly. E.g.
 
MessageBox.Show(Atan(35))
Answer = 0.4738... when it should be 0.7002....

View 5 Replies


ADVERTISEMENT

AutoCAD Civil 3D :: Math Functions Within Label Text Contents?

Jan 13, 2005

I would like to perform a math function within a point label and have it displayed along with my point. I have a bottom of curb elevation point and would like to show the top of curb elevation as 0.5' feet greater than the flow line without inserting 2 separate points. For drafting purposes only. (ie. TC 10.50/FL 10.00 ; the TC value would be automatically derived from the FL or point elevation value.)Can math functions be performed within a label's Text Contents?

View 5 Replies View Related

AutoCAD Inventor :: Prebuild Functions For Calculus In ILogic?

Jul 3, 2012

 Are there any prebuild functions for Calculus in ilogic.

View 2 Replies View Related

AutoCAD Inventor :: ILogic / Use Same Variable In Multiple Subs / Functions?

Apr 10, 2013

I have an iLogic rule in which I'm trying to set three user parameters for the gage of each leg of a steel angle. I want Inventor to set the gage based on the length of each leg. Here's the table I referenced for gages: [URL].

In my code, I have a sub called DetermineGage which takes the leg length, whether it's the short leg or the long leg, and determines the gages that should belong to that leg. Inside of that sub it calls on a sub called ApplyGage which then applies the determined gage to the rule's gage variables. The main sub then grabs those variables and applies those values to the actual user parameters.... In theory.

The rule executes ok with no errors, but doesn't change the value of the user parameters; they're always "0". As best I can tell, the "oGage" variables I used in the rule don't even get assigned the correct value, which makes me think the DetermineGage and ApplyGage subs can't even access the oLegLength or oGage parameters to read or set them. I don't want to use global parameters because I've heard that can make programs very unstable over time and is just bad practice. How can I make these variables accessible to all subs IN THIS RULE, no more no less?
 
Sub Main()Dim oLegShort As Double = Min(G_W,G_H)Dim oLegLong As Double = Max(G_W,G_H)Dim oLegLength As DoubleDim oGage As DoubleDim oGage1 As DoubleDim oGage2 As Double'Short Leg:oLegLength = oLegShort'Call DetermineGages sub to set oGage variables:DetermineGages()On Error Resume Next'If gage parameter does not equal true gage, set it equal:If Parameter("ShortLegGage") <> oGage ThenParameter("ShortLegGage") = oGageEnd If'Assume error means gage parameter does not exits. Create and set equal to true gage:If Err.Number <> 0

[code]...

View 9 Replies View Related

AutoCAD Inventor :: Suitable ILogic Functions For Part Template?

Oct 4, 2011

I am working on creating a new part file Template. Any useful and productive iLogic functions those are already available.

A while ago, I had seen one that would simply triger when part was checked in or saved. It would check if the material feild was utilzed or forgotten at Default.

share if there are any good iLogic functions that we might benefit from.
 
C1
Inventor Professional 2013
Vault Collaboration 2013

View 2 Replies View Related

AutoCAD Inventor :: Very Slow ILogic Functions With Multiple Processes?

Mar 22, 2013

how the internals of Inventor / iLogic are working.

We have multiple instances of Inventor running on a 12 core workstation so we can push configurations through concurrently  - each Inventor instance is assigned its own processor affinity and each instance has its own project which points to seperate directories of Inventor models.

Everything seems to work OK when there are up to 5/6 working concurrently, but as soon as there are more than 6 the iLogic functions seem to grind to a halt - note that the rules are external rules.
 
For example, this function took 11 seconds to complete when there were 10 concurrent orders processing. :
 
Parameter("BLANK", "EDGE_FRT_ACTIVE") = "YES"
 Similarly these functions took 11 seconds in total to complete :
 
iProperties.Value("Custom", "M1110900_P1PO") = iProperties.Value("Custom", "BLANK_GDIM") - iProperties.Value("Custom", "PANEL_GDIM")iProperties.Value("Custom", "M1110900_P2PO") = iProperties.Value("Custom", "BLANK_XGDIM") - iProperties.Value("Custom", "PANEL_XGDIM")iProperties.Value("Custom", "M1110900_P1OR") = 1iProperties.Value("Custom", "M1110900_P2OR") = 0
 
When I run these with less that 6 concurrent Inventor processes, they're are almost instant.

I just don't know where the bottleneck is. I've ruled out :

- Processor (each core never reaches above around 60%)

- RAM (we've got 48GB of RAM, with about 15GB free at worst)

- Disk (disk IO is busy, but it doesn't look like it's the bottleneck)

- Graphics (Inventor is in silent mode, with no UI, so graphics activity is minimal)

From the tests I've done it seems to be the iLogic functions that are the bottleneck. My next port of call is to change the iLogic functions to actual API calls, but I suspect I'll get the same results.

So, my questions :

Is Inventor queing these iLogic API calls somehow (note we're creating a unique instance of the Inventor.Application COM object for each processing thread) ?

Is there an issue with using external rules with nultiple instances?

Dell Precision R5500, Intel Xeon X5690 3.47GHz (x2)
48GB RAM
Inventor 2013 (PDS Premium)
64bit Windows 7 SP1

View 4 Replies View Related

AutoCAD Inventor :: List Of ILogic Commands / Syntax Functions

Sep 6, 2013

I used to have an A1 printed sheet of all of the ilogic commands, functions, syntax or whatever you call them.  It was all nicely grouped and colour coded etc

Unfortunately I have since moved jobs and lost this and neither me or google can find this again, any copy or link?  it may have been a pdf or excel format.

View 3 Replies View Related

AutoCAD Inventor :: Property File Subtype In ILogic Functions Not Recognized

Aug 28, 2013

I need to use the property " File Subtype" for programming a function in logic, but inventor not recognise this property.

I use this function "If iProperties.Value("Project","File Subtype")=Sheet metal"

How i can do for use this property for a ilogic function?

View 3 Replies View Related

AutoCAD Inventor :: Calculating Total Volume

Apr 11, 2012

I want to know if it is possible to calculate the water displacement volume of an assembly if it were immersed in water.

In other words,  I want to create a file in which ALL hollow spaces inside structural members, valves, pipework etc are assumed to be solid so that when that assembly is dropped in water, the total volume of water being displaced will be equal to the iProperty value for volume.  I know its possible to hole patch when creating a shrinkwrap,  but this is only effective for 'circular' hollow spaces and does not fill obscure or rectangular shaped empty volumes.

View 8 Replies View Related

AutoCAD Inventor :: Calculating Weight Of A Part?

Nov 14, 2012

I would like to find the actual weight of a part in pounds.

I have attached one of the parts I would like to know the total pounds or ounces for.  I’m using a specific material that I set in the Physical tab of iProperties.

Version = Inventor Pro 2009

View 4 Replies View Related

AutoCAD Inventor :: Character Incorrectly Displayed In IDW?

Oct 11, 2012

Inventor is displaying the "male symbol" instead of a carriage return. It only does this once in a while, maybe once in 50 dimension edits, and if I edit the dimension again, backspace out the return and replace it then it will display correctly.

I'm using a Quadro 600 with an AutoDesk certified driver. Memory isn't pegged, only using half of my installed 8GB. Bug?

View 8 Replies View Related

AutoCAD Inventor :: Calculating Distance Using Rectangle Pattern?

Apr 16, 2012

When using the rectangular tool how do i calculate equal distances between each Fin.The picture shows 11 Fins but they are not equal distances between each Fin which causes the Fins to be higher on the right side.Which formula / calculation do i need to use in Rectangle Tool to produce equal distances between each fin and therefore the 1st and 11th fin are in the same position on each side of the cylinder.Using Inventor 2012

View 9 Replies View Related

AutoCAD Inventor :: Calculating Surface Area For IParts

Sep 12, 2009

I want to calculate aurface area of iparts automatically. there are about 100 ipatrs and i want to find surface area of each ipart. is there any way that i just click the desired surface and its area is written in some file so that i can just go to the next ipart click the desired surface and its area is written automatically on some file.

Is there some option in inventor to define macro for it coz i hav no knowledge of defining macros.

View 9 Replies View Related

AutoCAD Inventor :: Replace Component Replacing Incorrectly?

Dec 19, 2013

I have an assembly with two similar items in it and have written code to replace the component based on a given selection.  If I try to change item one, nothing happens.  If I change items two, it changes both item two as well as item one.  In the attached screenshot item one should have a full cover panel and item two should be open; however, they are both the same.  I have stabilized the browser by changing the names to "Leg One:1" and Leg Two:1) and the components that are being replaced are standard assemblies to be replaces with other standard assemblies.

View 4 Replies View Related

AutoCAD Inventor :: Calculating Combined Length Of Extruded Parts

Mar 26, 2012

Is there a function in Inventor 2012 for Inventor to quickly calculate the combined length of a collection of extruded parts?

What I want is to multiple select a series of extruded lengths in the browser, hit a button and see a total length.

Autodesk Inventor Professional 2013 SP2 64-Bit Edition
Windows 7 HP Z400, Intel Xeon W3550 3.07GHz
12.0GB RAM, ATI FirePro V4800 (FireGL)

View 7 Replies View Related

AutoCAD Inventor :: BOM Not Do The Math (multiply Qty X Weight (mass)) In Weight Column

Feb 8, 2012

The weight of the parts is correct but if the quantity is greater than 1 in a weldment  the BOM collumm does not do the math and multiply the quantity X the weight. If it is a formula what is the syntax?

View 1 Replies View Related

AutoCAD Inventor :: 2012 - IDW Shows Frame Members Incorrectly

Jul 28, 2012

With all the service packs and updates installed 2012 still fails to sometimes recognize frame members properly.  Not only is the frame mitre being ignored, the frame was never as long as the idw is showing.  It was only as long as the edge.   I have spent hours deleting and re-created the frame, views and even completely re-created the drawing but why it's doing this.  2010, 2011 & 2012 have all had frame generator bugs. 

View 2 Replies View Related

AutoCAD Inventor :: True Type Font Displays Incorrectly After Publishing To DWF

Jun 10, 2010

Last week I installed a new True Type Font in Windows, so that our drawing title blocks comply to our company standards. I noticed that when checked in into the Vault, the title block containing the new font doesn't display correctly. It shows the new font, but it's distorted; it's bigger, and the letters are too close to eachother. When printing from the Vault, this doesn't change, it's exactly what Vault shows. (See attachments). Also when publishing from within Inventor (File --> Export --> Export to DWF) the font gets distorted.

Posted this message in the Vault-forum, but according to Autodesk it's an Inventor related issue.

Our non-Cad-people are complaining about this, because it's non-compliant to our standards... How can I correct this matter?
 
Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)

View 6 Replies View Related

AutoCAD Inventor :: Close ILogic Form With VBA Or ILogic Rule

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

AutoCAD Inventor :: 2013 Crashes When Using Multiple Functions

Mar 25, 2013

I have been using this software for a few months now, and I continue to have crashing issues. The issues, however related, are not consistent. I tend to have issues when using more complex applications of the software such as crashes when performing a breakout view, freezing and then many times crashing when manipulating a part within an assembly drawing, and several other similar issues. I have received an update SP1.1 (176) and installed it. This update states it contains a fix for issues of crashing due to excessive memory consumption.

I have 6GB of RAM, nVidia Quadro FX 3800 1GB graphics card, Intel Core i7 920 2.66GHz processor, and updated drivers... 

View 9 Replies View Related

AutoCAD Inventor :: Trigonometric Functions Not Working In Parameters

May 6, 2013

In my Parameter equation dialog box: "cos(.5)" is red"(.5)" is black.

Does Excel need to be installed for Trigonometric functions (I don't have Excel)?

View 2 Replies View Related

AutoCAD Inventor :: Use User Selectable Browser For All Related Functions?

Jun 17, 2011

Is it possible to use a user selectable browser for all related functions?

I'd like to see the possibilty to select with which webbrowser Inventor interacts.

Currently the wikihelp opens in my default browser (Google Chrome), but the help function and subscription links open in Internet Explorer.

View 3 Replies View Related

AutoCAD Inventor :: Preserve Functions In IProperties When Accessing With VBA Script

Dec 3, 2012

I made a simple dialog to access some of the iproperties. This is quite handy when working on a drawing of a part, but there is one flaw with this script. If the part's description has a function referencing the parts dimensions for instance, when my script gets the description it gets the plain text and not the formula. Meaning if the part's description is "=<d0> X <d1> X <d2>" and appears as "1 X 2 X 3" the script will get "1 X 2 X 3" and when it resaves the description it will over write the formula with plain text.

Is it possible to get the formula so my script could display that for editing instead of the plain text?

Below is a part of the code I'm using and it's the standard code I've seen for retreiving ipropterties.

Dim invDoc As Document Set invDoc = ThisApplication.Documents.ItemByName(GetToken(PartList.Value, 3, Chr(1))) Dim invDesignInfo As PropertySet Set invDesignInfo = invDoc.PropertySets.Item("Design Tracking Properties") Dim invProperty(1 To 4) As Property Set invProperty(1) = invDesignInfo.Item("Part Number") partnumber.Value = invProperty(1).Value Set invProperty(2) = invDesignInfo.Item("Description") description.Value = invProperty(2).Value

View 1 Replies View Related

AutoCAD Inventor :: Calculating Tube Length (not Tube And Piping)?

Mar 16, 2013

I have a question about calculating the maximum tube length. Why do i ask this, because you can just measure it on drawing?

I'm building a parametric model for building simple storage tanks, and the goal is to get a complete BOM out of the model without any difficulties.

I have 4 possibilities of tube positioning on the tank. (see image)

1. A tube that stands in the center of the axis of the main tank.

2. A tube that stands in the center of the axis of the main tank, but under an angle

3. A tube that doesn't stand in the center of the axis of the main tank.

4. A tube that doesn't stand in the center of the axis of the main tank, but under an angle

These 4 possibilities can be flush with the inside of the tank or not.

Is there a easy way to determinate the longest point from the front of the tube? This longest measurement will be the length i need to get into my description for the BOM.

View 1 Replies View Related

AutoCAD 2013 :: How To Do Simple Math Without Using AutoLisp

Jun 21, 2013

I would like to know if there is a way / setting that I can turn of to where can do simple math problems when inputing numbers say for like offsetting a line without having to use AutoLisp.

For example if I was to offset a line I would type in "5.75/2" and get 2.875. I would like to be able to do this without having to type ( / 5.75 2).

Is there a way to do this without having to type all of that.

I am using AutoCad 2014, and at work we design driveline equipment so a lot of the drawings are from a front view to a section view, and for like a round cover that is in the front view it is easy to offset the centerline in the section view by the radius and continue drawing the section view.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Math In Foreach Function

May 15, 2013

In the foreach function can you use math like (foreach pt1 (add 1) so that foreach one you pick it adds one the next one will be named pt2 then pt3 and so on.

View 6 Replies View Related

3ds Max :: Enter Math Formulas In Parameters

Dec 17, 2012

I'm having trouble finding this functionality. Is there a way to type say 3+1 into a parameter, like lengthSegs and it result in 4? Or type 1.2* in something like scale X and have it result in 1.2 times whatever the parameter value was?

View 2 Replies View Related

Photoshop :: Blend Modes Math Equations

Jan 4, 2009

one of my top questions ever about photoshop is where could I found some documentation about the real math equations and algorithms that plays inside blend modes operations?

View 1 Replies View Related

AutoDesk Smoke :: Progress Bar Uses Interesting Math

Aug 29, 2013

Smoke 2013, ext. 1.When rendering almost anything, I get Frame x of y.  Where x is substantially greater than y.  i.e., frame 1236 of 900.  I also get the time as negative.  Don't remember any other version doing this on a regular basis.

View 1 Replies View Related

AutoCAD Inventor :: ILogic Design Copy - Error Copying A File / Inventor Crashes

Nov 5, 2013

I'm trying to use iLogic Design Copy to copy an assembly and all its associated parts to another directory. The assembly contains content center parts. Inventor warns me that the destination file of one of the CC parts (and 18 others) will be overwritten. When I go ahead and copy anyway, the copying process stops at that specific CC part. The Design Copy Progress dialog box states there is an error copying that CC part. When I close the Design Copy Progress dialog box, Inventor crashes.

The error copying the CC part: I'm allowed to use content center parts in iLogic Design Copied stuff, right? I searched some related topics and I'm under the impression that Inventor keeps the CC parts in its own directory and shouldn't be trying to overwrite them.

View 3 Replies View Related

AutoCAD .NET :: Calculating Angle Between UCS And WCS?

Aug 19, 2013

how to Translate WCS coordinates to PSDCS? where can find the C# code?

View 2 Replies View Related







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