AutoCAD 2013 :: IF / THEN Statement In Parameters

Jul 18, 2013

Is it possible to add an if then statement to the parameters manager in dynamic blocks in Autocad 2014. For example, in the image below is it possible to put in A1... 'IF Dim1= 0, display 0, else (Dim1-79-50)'.

View 1 Replies


ADVERTISEMENT

AutoCAD 2013 :: Using Alignment Parameters

Apr 20, 2013

I have what I believe is a good use for block alignment parameters, but I'm having trouble getting it to work the way I want. Let's say I am building a space frame. I start by drawing a series of 3D lines from one node of my space frame to another which defines the center lines of each member of the frame. Then I have a block representing a tubular member of the space frame. I would like to add an alignment parameter to the block such that I can insert a member and align it to one of the 3D center lines. Preferably, I should be able to insert and align in a single step, although it would also be fine if that were two steps. For example, I could first align the block to one of the 3D lines, and then move the insert point of the block to a node point of the space frame. 

I am able to create an alignment parameter on my block, but I find I cannot use it to align to a simple 3D line. It will align to the edge of a solid without problem, but not to a 3D line. 

My alignment parameter is (I believe) inserted at the insert point of the block. Although, in the Block Editor you cannot seem to specify the insert point directly. Perhaps because I am editing the block its insert point is not available in that mode?

View 3 Replies View Related

AutoCAD 2013 :: Linetype - What The Parameters Are

Nov 7, 2013

Below are linetypes that we created for our use. We have tried to create others but we dont know what the parameters are

Height of text, spacing of line between text, center of text... 

*RS-485,RS-485 ----485----485----485----485----485----485--
A,.5,-.2,["485",STANDARD,S=.2,R=1.0,X=-0.1,Y=-.1],-.6
*RS-422,RS-422 ----422----422----422----422----422----422--
A,.5,-.2,["422",STANDARD,S=.2,R=1.0,X=-0.1,Y=-.1],-.6
*RS-232,RS-232 ----232----232----232----232----232----232--

[Code] .......

View 3 Replies View Related

AutoCAD 2013 :: Parameters Manager Can't Be Displayed

Jul 2, 2013

With Windows version of AutoCAD2013, I can't find the Dialog box of Parameters Manager (See the First Picture below) from Block Editor Tab in Manage panel (the Second Picture below.) When I pick the Parameters Manager tool, I could see something happened in a blink of an eye, and disappeared. I tried the line command by typing PARAMETERS, but to no avail. I clicked Parametriic from the menu bar, and then Parameters Manager for selection, but with the same result. I just can't display it.

First Picture: The Dialog Box I want to display:

Second Picture: Can't find it after picking the Parameters Manager tool in Manage Panel under Block Editor Tab:

View 3 Replies View Related

AutoCAD 2013 :: How To Correctly Convert 2D To 3D According To Parameters Given

May 4, 2013

I have this draft with the parameters given. I  need to correctly make this a 3D...How do I insert the parameters given, so the draft correctly rise accordingly to the planes?

View 5 Replies View Related

AutoCAD 2010 :: How To Write (If Statement) In The Table

Apr 19, 2012

Is it possible to write “If statement” in the table?
 
For example, I wanted to have the following if statement:
 
If b3>180º, d3 = b3-180º
If b3<180º, d3 = b3 +180º
 
Is this possible in the AutoCAD the same way we do it in excel? 

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

View 6 Replies View Related

AutoCAD Inventor :: ILogic If Statement Condition Being Ignored?

May 16, 2013

I have the following code to clean up iProperties in idw files.

If ThisDoc.Document.documenttype=12292 Thendoc = ThisDrawing.ModelDocumentiProperties.Value("Project", "Revision Number") = doc.PropertySets.Item(1).Item("Revision Number").ValueiProperties.Value("Project", "Part Number")= ""iProperties.Value("Project", "Description")= ""iProperties.Value("Summary", "Title")=""iProperties.Value("Summary", "Subject")=""iProperties.Value("Summary", "Author")=""iProperties.Value("Project".
[code]....

For some reason, when this code runs, it always trys to execute the doc=ThisDrawing.ModelDocument, regardless of whether or not the IF statement condition is true. I am running Inventor 2012, SP2

View 2 Replies View Related

AutoCAD 2013 :: Sharing Parameters In Nested Dynamic Blocks Using 2014

Nov 20, 2013

I am drawing a block that containes a number of other blocks which I want to control parametrically.  For example. In one block, I have set the diameters of a circle restricted to 10 and 12-mm.  I have a second block that also contains the circles which have similar restrictions. I now want to control the diameters of the circles from a single source - similar to shared parameters in Revit.  Am I able to share a global parameter between blocks?

Eventually, I want to control a 2D drawing from a table only.  Should I be using .Net or AutoLisp for this.

View 4 Replies View Related

AutoCAD Inventor :: If Statement Between Part And Assembly Document

Oct 11, 2011

I'm trying to write my first VBA program for Inventor with very little programming experience.  I would like to create a userform which displays the materials list within a combobox.

The problem I have is that I would like the userform to remain open no matter which type of file is active. I would like the combobox to display the material list and current material when in a Part file and display N/A when in Assembly file.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Conditional Statement In Field?

Aug 19, 2013

I created a block, that uses the Y coordinate of the block and returns it's location in a field.

I would like to be able to indicate weather the value is negative or positive. If Y coordinate is less then 0, then the field indicates "-" in front of the value. But if the Y coordinate is positive, I couldn't find a way to place "+"symbol in front.

Is there any way I could introduce a conditional statement saying: if Y>0 then add "+" in front?

View 9 Replies View Related

AutoCAD VB :: Access To User Parameters In Parameters Manager?

Aug 3, 2011

How can you access user-defined parameters/function defined in the Parameters Manager dialog?

View 1 Replies View Related

AutoCad :: Linking Constraint Parameters To Action Parameters?

Sep 21, 2011

Im wondering if its possible to link either a constraint dimension to an action parameter or vice versa. Or using a linear parameter's value in an user parameter formula.

Its a 2D cylinder, for winding purposes we just have a rectangle, with a distance from the Y axis for radial.

Parametric dimensions: B=thickness, C=Lenght, R=radius
User parameter: A=Diameter (R*2), Mass in kg ((((pi*(c*b))*(A+B))*1.25)/1000)/1000

For the BOM, i need A, B, C & mass

For drawing references for peoples on the floor, to distinquish a cylinder from a stick, we put lines at the top and bottom of the cylinder, 1mm distance inbetween them.

I figured that making a linear parameter + stretch on the thickness to replace the B parametric dimension, allowed me to make an array of that line, with increments of 1mm as i stretch the cylinder. The thing is that the mass formula cant take the value of action parameters....

Other alternative is to keep the B parametric dimension, and add a linear parameter as above for the array. But then i have 2 places to adjust, and from a test i made, if i change the R dimension, the linear one does not follow. Its very frustrating.

What i was hoping autocad would be able to do is distance1 for array to be same as B dimension, but it does not allow me to do that, unless im missing something.

View 0 Replies View Related

Edge Animate CC :: If Else Statement With Mouse Click

Jan 20, 2013

I'm having a problem with  IF ELSE code use with a mouse click. What I want each time a user "clicks" i want to execute a particular block of code, up to 3 clicks, then nothing. I've tried local and global click counter var but can't seem to get past the first "if". This is what I have now (I'm using console.log() to keep track.
 
In comp ready i create a global var ...
 
// insert code to be run when the composition is fully loaded heresym.getComposition().getStage().setVariable('clickcnt', 1); //set counter to 1
var i = sym.getComposition().getStage().getVariable('clickcnt');
console.log ("Counter is starting at "+i);

on the stage i create a "click" event..
 
// insert code for mouse click herevar i = (sym.getComposition().getStage().getVariable('clickcnt');  if (i=1){     console.log("counter is = "+i);     //do some code sym.getComposition().getStage().setVariable('clickcnt', 2); //set counter to 2  } else if (i=2){     console.log("counter is = "+i);     //do some code     sym.getComposition().getStage().setVariable('clickcnt', 3); //set counter to 3  } else if (i=3){     console.log("counter is = "+i);      //do some code      sym.getComposition().getStage().setVariable('clickcnt', 4); //set counter to 4 taking it out of range      sym.play(100); //play the timeline animation  } else {  //

I'm using this to negate any further clicks. I'm sure there's a proper way to do this. I just don't know it. sym.stop(1000); console.log("end"); };I When I run this It never gets passed the first if, It's like the "clickcnt" var is not getting updated or read properly.

View 5 Replies View Related

Edge Animate CC :: Use Opacity Of Symbol In If-statement?

May 27, 2013

I'd like to use the opacity of a symbol in an if-statement. How to ask for it?

View 5 Replies View Related

Lightroom :: Internal Error Has Occurred DB Statement Finalized Twice - 4.3

Jan 14, 2013

LR4.3
New catalogue created 2nd Jan 2013 - less than 300 images
Windows 7 Home Premium 64-bit, fully updated
Lenovo G770 6GB RAM 500GB HDD (partitioned C: & D:  LR executables + catalogue on C: - 200GB free; images on D: - 160GB free)
Olympus ORF (from E-P2)  imported as DNG
30 image files imported
One user preset run with import.
all imports selected in library then autotone applied in quick develop
change to develop module
start to edit - crop -
error: "An internal error has occurred! DB statement finalized twice "
 
Now can change module, click on folders etc, but no images are displayed.
No disk activity
LR displays "Loading ... " in centre pane
 
Closed LR without other errors  displayed.
 
Now cannot restart LR -  click on icon and brief hourglass, then nothing.

task manager shows two instanced of lightrrom.exe as running, one at 830K and another at 2.3K
 
Kill these tasks & restart lightroom. Catalogue does not show most recent import.
 
Close lightroom - still shows "phantom" lightroom.exe in  task manager.

View 2 Replies View Related

Revit :: Make If And Conditional Statement Formula In Family With 3 Tests?

Jan 15, 2013

is there a way to make a if and conditional statement formula in a family with 3 tests?
 
For example,
 
Behind Furniture, Biscuit, Masonry Wall, Hard Ceiling are all yes/no parameters
 
if(and(Behind Furniture, Biscuit, Hard Ceiling), 0'  0 5/16", if(Behind Furniture, 0'  0 11/64", if(Biscuit, 0'  0 11/64", 0'  0 27/256", if(Masonry Wall, 0'  0 11/64", 0'  0 27/256"))))
 
what is wrond with my formula?
 
I am trying to change a dimension  based on what yes/no parameters are checked. It keeps telling me that its "a bad if statement format". It works fine for the first teo dimension tests but when I add this last one I get the error. I need the 3rd dimension to check against 3 yes/no parameters all being = yes before moving on to the next check.

View 9 Replies View Related

AutoCAD 2010 :: Load Statement In Profile To Automatically Load / Unload Cuix?

Jun 4, 2013

Is it possible to use a load statement in a profile to automatically load/unload a cuix?

View 7 Replies View Related

Revit :: Conditional Statement To Insert Door Offset / Inconsistent Units

Jan 16, 2013

Is it possible to read the current wall thickness of a door's host and use that dimension in a conditional statement to locate the frame's setback?
 
If the wall is deeper than the frame I want the door flush with the wall, if the frame is deeper than the wall, I want the door centered.
 
I set up a Wall Width paramenter in my door family but I keep getting the "Inconsistent units" error message.

View 3 Replies View Related

AutoCAD Inventor :: How To Get Parameters Name And Value Using API

Jun 29, 2013

How can we get the parameters of a inventoer object using vb.net.?

I have 3 parameters named d1,d2,d3 .I want to get these three parameters name and value using API programing  using vb.net.

View 1 Replies View Related

AutoCAD Civil 3D :: SAC Using Target Parameters

Dec 16, 2013

I am building sub-assembly, I just want to know if there is any example or tutorial on how to add target parameters to sub-assemblies.

View 6 Replies View Related

AutoCAD Civil 3D :: Invalid Set Of Parameters In URL

Dec 30, 2012

It happens when I try to use the "back" button on the web page when reading posts.

I am using Google Chrome.
 
AutoCAD Expert Elite
AutoCAD Civil 3D 2014 Certified Professional
C3D 2014 (SP1)
Win 7 Pro, 64-bit

View 9 Replies View Related

AutoCAD Inventor :: Grouping Of Parameters

Nov 26, 2013

I was wondering if it would be possible to do the following:

Parameters who can vary for lets say a rectangular profile with:

80x50x2

80x50x3

100x50x2

That these data sets/parameters are grouped/linked to eachother in the Parametric Table.

So when I'm doing my analyses with the profile of 100 and I change the wall thicknes from 2 to 3mm the 100 changes to the 80 variant automaticly, or asks me which version I want.

It would be handy to avoid mistakes with non excisting combinations of profiles.

Is there a custom app for Inventor that allows you to manage parameters easier? (Grouping wise to keep a better overvieuw.)

View 1 Replies View Related

AutoCAD .NET :: How To Set AssocArray Path Parameters

Oct 18, 2012

 Associative arrays have a Z direction option which specifies whether to maintain the original Z direction or to naturally bank the items along a 3D path. How to set the AssocArrayPathParameters to match Z direction?

View 6 Replies View Related

AutoCAD .NET :: Getting Command-line Parameters

Jul 11, 2012

From my .NET dll I need to get the command line parameters that were used when AutoCAD was launched.

In the unmanaged world I used acedGetAcadWinApp.

Is there a .NET equivalent?

View 3 Replies View Related

AutoCad :: Parameters In Block Definition

Sep 10, 2013

I have a question regarding parameters in a block definition, or more specifically how to constrain parameters. I have attached a PDF showing exactly what I am working on. Basically I have an arm for a monitor which I need to add some parameters to. I need to be able to have a point that I can grab where the "primary grab" is located, and when I grab that I need the arm to pivot at the indicated pivot point, but be restrained by the first arm that is constrained to the circle. Is this possible to do in AutoCAD?

View 0 Replies View Related

AutoCad 2D :: Set Parameters Changing All The Time

Jan 20, 2012

In Autocad there are these parameters you can set, like HPDRAWORDER, HPNAME,..etc. Every time I open my autocad (2012), these values are set to default again. How do I manage to keep these variables registered so i don't need to change them every time I start up?

View 3 Replies View Related

AutoCad :: Transfer Actions To Different Parameters

Jul 11, 2012

I've just completed a fairly complicated dynamic block (took me a few days to make actually), and there is a possibility of me cleaning up the quick properties window to have less redundant input dimensions if I simply transfer actions/action bars from one parameter to another. Is this possible to do?

I have 2011 LT btw.

View 0 Replies View Related

AutoCad 3D :: How To Change Render Parameters

Jul 7, 2012

I don't know how to change render parameters. How do I chose background color? Output file size? render quality?

View 1 Replies View Related

AutoCad :: Multiple Visibility Parameters

Sep 11, 2012

I found this to interesting and proven on having more than 1 Visibility Parameter. [URL] ......

Their block works perfectly, unfortunatelly I was unable to repeat their work. I can't create more than 1 Visibility Parameter on either 2007 or 2012 AutoCAD.

From some reason it does not want to use the defun commands. CAD loads it with no errors, both lsp files but once I'm trying to run those commands (visibility_add or move-parameter) it just gives me Unknown Command error.

I'm not good in Auto LISP, but how to make this piece of art to work ?

Maybe it's a AutoCAD version issue, but like described earlier I was doing the test on both 2007 and 2012 ver.

View 1 Replies View Related

AutoCAD Inventor :: Add To Linear (mm) Parameters?

Mar 15, 2013

Creating User Parameters, can we use trigonometric functions? and can we add these to linear (mm) parameters?

Can we add the Values irrespective of Units i.e. Inch/ Deg/ Unitless

Example: d0 (In) = d1 (In) +d3[ul] + (sin(Variable_Angle))

In value = In Value + ul Value + deg Value

View 6 Replies View Related

AutoCAD Inventor :: ILogic Reference Parameters

Oct 9, 2013

I'm having some difficulties with iLogic and reference parameters.

I have made a tube with a weird shape and I want to measure the longest length. So I have to cut the tube in a certain angle in relation with the center to measure the length.

The problem is that this angle is really hard to calculate.

So I tried making a rule where I can make my angle shift x degree and then measure the longest length. If the measurement is larger the previous measurement the angle will shift x degree again until the measurement is smaller than the previous.

So I made my starting angle 0 degree, I know this is for a fact not the longest length. And then I tried this rule. (before making a While rule).

And I noticed that on screen the measurement changes. But the reference - parameter stays the same. So it gives me the measurement on the starting angle & after rotating it again gives me the starting angle.

How can I get the parameter to update itself in between?

Dim measurement_length As DoubleDim measurement_length2 As DoubleMessageBox.Show("Start angle ", "My iLogic Dialog", MessageBoxButtons.OK, MessageBoxIcon.Asterisk, MessageBoxDefaultButton.Button1)angle_measurement_spec = 0RuleParametersOutput()InventorVb.DocumentUpdate()measurement_length = [code].....

View 1 Replies View Related







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