AutoCAD Inventor :: ILogic If / Else If Conditional Suppression And Reposition
Sep 25, 2012
I use a simple If/ElseIf code to suppress / uns uppress & reposition holes on a plate to ensure the desired number of fixing hole pairs.
The hole positions will change and suppress/unsuppress depending on the value of the Tie Rod Pitch (vertical) and the O/A length of this plate (and pressure inside the radiator but this is sorted in Excel).
For example PitchMax = 500mm, BP_2ndS= 1600mm (plate length)
If (3 * TieRodPitch_MAX_2ndS ) < BP_2ndS < (4 * TieRodPitch_MAX_2ndS) Then
...
For some reason some times the parameters don’t update in the hole and pattern features after running the rule thus they are in the wrong position or not suppressed/unsuppressed. When I rearrange the If/ElseIf codes it may work. All I change is just replace ElseIfs with If-End Ifs or the other way around...
Which does not make any sense to me, since I change nothing in the parameters or conditions. Is this code structured poorly?
p.s. this is an engine radiator and the number of tie rod pairs depend on the height of the block, pressure inside, width, etc.
The part fie has the code.
View 2 Replies
ADVERTISEMENT
Mar 1, 2012
How can I include component suppression in the idw views? I suppress a component in the ipt or asm, but it doesn't
disappear from the drawing views. Is there a way to carry this over to the drawing?
View 1 Replies
View Related
Jul 23, 2012
I am looking to use iLogic to create feature suppression in individual drawing views, i.e for simplicity, in view 1 part has a hole in view 2 part does not have a hole it has been suppressed
I am aware this can be done with iParts but im trying to avoid using iparts.
View 1 Replies
View Related
Feb 7, 2012
In ilogic it's easy to suppress features like holes, but I cannot combine iparts with Ilogic, so I try the same in VBA, but I don't know the way to do it
Is there some existing sample code like this ilogic one for VBA?:
if Dimension_A < 50 Then
Feature.IsActive("Hole1") = false
End if
View 4 Replies
View Related
Sep 24, 2012
a customer has a title block with a revision table ( standard vault revision table) add on top of it.
If you change the sheet size the revision table remains his position.
If found the way to reposition the table with a ilogic rule.:
'point afstand in cm
PointX=(ActiveSheet.Width/10)-13
PointY=5.5
'punt vanaf rechtonder gemeten in cm
[Code]....
This is working perfectly. But now the challange how to trigger this rule to run if you change the sheet size?
if tried:
trigger=Activesheet.size
or
to create a userparameter and added this line in my rule : Size=ActiveSheet.size, normaly is you change parameters it triggers the rule to rule. but both way didn't work.
Can event triggers from the API be used? Do i need the "Onchange" event? Any example for a ilogic rule?
View 3 Replies
View Related
Sep 12, 2013
Is there a way to suppress a feature without suppressing it's dependents?
View 3 Replies
View Related
Apr 9, 2013
Is there a way to copy all the supression state of one LOD to another?
I have here some Substitutes from specifics LODs in my IAM, and i need to supress/unsupress some parts (same parts) in all my LODs. So there is my question, how could I copy one state from first LOD and then apply to all of them ?
I cant just delete and create again copying from the first LOD because I have Substitutes based on those LOD, so if I delete them iI'll get some problems here.
IV 2013
View 9 Replies
View Related
Jun 23, 2011
Problem: I have a part that goes through several processes, casting, machined, finish. I want to create a drawing sheet with views displaying the part through different stages.
Solution One: Create as many different parts (with different file names) for each stage and place the views accordingly. Really? Three or more part files to illustrate a single part?
Solution Two: Create a user parameter that will auto-suppress features to create different Levels of Details on Parts, but there is no way to initiate/set the user parameter for different views.
I understand 2012 has the ability to create part design representations, but we are still on 2011 and I am leery to upgrade for a feature that still might not work properly.
There has to be a way to suppress features in a specific view...iLogic? iPart? anything? I simply can't believe this is the case.
View 9 Replies
View Related
Jun 14, 2013
Any way to suppress entire bodies in a multiple solid body part, using iPart, without having to suppress each individual feature for it. I am on Inventor 2013.
View 2 Replies
View Related
Dec 7, 2011
Just as the title says, im having an issue with Inventor not allowing me to suppress features on an ipart child.
I've attached my files and a video showing the issue.
Inventor 2011 64-bit SP1
View 3 Replies
View Related
Oct 19, 2012
I was trying to reposition a retrieved dimension in drawing. I was able to position the text, however the dimension line however still stays in its default retrieved position. how I can reposition the dimension line as well?
Dim mydim As Inventor.ObjectCollection
Dim invDimConstraints As DimensionConstraints
Dim invDimConstraint As DimensionConstraint
invDimConstraints = invPartDef.Sketches.Item("MySketch").DimensionConstraints
[Code] ........
View 1 Replies
View Related
Oct 22, 2012
I am using a circular pattern to re-position an internal keyway and am wondering if it is possible to supress the original keyway? Right now I have to give it a 'Placement' value of 2 to get the keyway to shift the amount I want, and as such it keeps the original as well as the new (overlapping them). I wish to suppress only the original one leaving new one...
Inventor 2014 PDS
View 6 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
Feb 3, 2011
Up until now, we have been entering room names for scheduling manually. I would like to be able to create a psd, whereby the room name is the space style name - *UNLESS* - a value has been entered in any of the manual room name properties. I am sure I can do this with a formula property but I am having trouble wrapping my head around it.
I have 3 manual property definitions in my PSD: (the names corelate to the position in the room tag)
Name_Manual_Top
Name_Manual_Mid
Name_Manual
Additionally I have one which concentates these 3 for the schedules:
Name_Manual_Sched
So I need something that says:
*if* NAME_MANUAL_TOP *or* NAME_MANUAL_MID *or* NAME_MANUAL *=nil*, *then* NAME_MANUAL *and* NAME_MANUAL_SCHEDULE = SPACETYLE *else* this is where I am having trouble - the else is that I want it to act like it always does - if there is data in one of the manual properties
I have done some lisp programming, but not any VBA (but willing to learn)
View 2 Replies
View Related
Nov 17, 2013
I would like to detect view change (especially when orbiting the view around) to automatically reposition table-like(block) entity such that the user can always see the face of the entity.
I figured out that there is viewChanged event in AcEditorReactor, but it doesn't seem like it is visible in .NET.
How could I use this callback function?
View 7 Replies
View Related
Jan 8, 2013
I have an alignment running counter clockwise at the perimeter of a septic bed. I’m trying to use a conditional subassembly for the grading.From 0’ to 5’ of fill, grade to existing @ 3:1.Greater than 5” of fill, add a wall (no more than 4’ high) and grade to existing @ 3:1.
View 7 Replies
View Related
Apr 2, 2012
I am working on implementing Chad Studer's techniques from his presentation at Autodesk University for corridors with conditional subassemblies at the driveways. Basically I created a corridor with two driveways for a test run. When I select the corridor and look at the object viewer, there are several lines going to who knows where at both driveways. But a look at the properties of the finished grade surface generated doesn't show anything out of the ordinary. I had the conditional subassembly look for a polyline on layer "driveway." It appears that there may be a gap in the corridor at each end of the pollyline. I've attached the drawing file.
View 6 Replies
View Related
Nov 9, 2012
how can one create the cut file conditional subassembly or the horizontal conditional subassembly using subassembly composer?
Civil 3D 2013
HP Pavilion dv6 cor i7
16GB RAM
windows 8
View 8 Replies
View Related
May 24, 2013
What i want to do is ; i have a corridor with both right/left sides ending with linktosurface with fixed slope.In some sections my existing surface is not wide enough to get intersection with link to surface with fixed slope. So i want to use this "conditional horizontal target " if my surface is not enough wide for intersection then just intersect or go to the edge of my existing surface. But i learned that surfaces cannot be used as an offset target with that subassembly.
View 9 Replies
View Related
Apr 15, 2013
Users of Excel will know that you can ask that software to automatically change the color of text depending on its value.
I wonder is this possible in AutoCAD ( Issue release 13 )
The task I have to process is that I have a survey full of spot levels. It would be great of there was a lisp or script or some other device that would change the colour of the spot levels depending on the numerical value of the number.
E.g. - all values less than 100.00 - turn blue
all values equal to or greater than 100.00 - turn yellow
View 1 Replies
View Related
Jan 1, 2012
have had the good fortune to have recieved a Christmas present (o.k. to myself) a new Dell 30" monitor with 2560 x 1600 resolution.
The only thing I am finding troublesome as you might be able to see by the attached screen shot, is that now my autocad menus are, as expected at the top of the screen. This new size of monitor brings with it the problem that you now have to travel your mouse a great distance to reach the menu bar items.
View 1 Replies
View Related
Dec 10, 2012
In particular, I am attempting the infamous task of creating driveway openings using a horizontal target with my sub-assemblies. I referred to the AU 2010 video tutorial that gets passed around here on the boards, and for the most part, it works with ONE tiny exception.
Like in the AU video, I set my conditional target to look for a particular layer, and I first attempted the exercise by placing ONE polyline (i.e. driveway opening) on the layer, and set set conditional "found" and "not found" targets to find this pline. The target found the pline on the layer on the right side of the road where I drew it, and created the opening as hoped, but it created an opening on the LEFT side of the road as well!
What do I have to do to prevent the conditional horizontal targets from ignoring the exact opposite side of the road? In my assembly, the left conditions are set to LEFT, and the right conditions are set to RIGHT, but when the corridor gets modeled, BOTH sides of the road will show an opening even if there is only one pline drawn.
View 9 Replies
View Related
Apr 8, 2012
We are using AutoCad 2012. Our company have more than 32 disciplines. For any projects the drawings are prepared with many disciplines. Civil does the civil drawing portions, water does the water pipeline portion, electrical does the electrical cable layout portions etc. etc. Each departments have their own set of layers in the drawing.
Now the problem is civil can accidentally modify the entities of electrical departments / utility departments. Though we lock the other disciplines layers programmetrically, but user can unlock the other disciplines layers easily if he wish to. Can we make those other disciplines layers read only? So that users can draw / modify in his own discipline layers but can not do that in other disciplines layer. But he can refer those layers / copy entities from those layers if he wish to? Some sort of xref type of thing is required, but we can not use xrefs as we work in a single drawing and our custom drawing management system is integrated with this type of file system accross the offices.
View 6 Replies
View Related
Jul 9, 2013
I need to create a corridor that has this section. So I'm using this assembly:
on which I put 3 conditional fill subassemblies on point A, one for fill conditions of more than 2 m that would daylight at 2:1 until it reaches 2 m down and then daylights at 1:3 until it reaches the EG. Then I have another for fill conditions of less than 2 m that only daylights at 2:1 to the EG, and the last one is for all cut conditions.
As expected I have the following problem in some stations that have fill conditions on A of less than 2 m but more than 2 m on B:
Is there any way I can make B the comparison point without having the following problem on cut conditions?
Or that I could create an assembly with the condition that when I have a fill of more than 2 m on point B it daylights, from point B, at 1:3; but when B would be on cut conditions it daylights from A?
View 7 Replies
View Related
Mar 3, 2012
I am trying to build a corridor using a conditional slope assembly that considers the roadway and links into the lots.
The corridor is divided into 3 regions. All targeting has been assigned.
The first region appears fine. The second and third show no links beyond the roadway.
View 6 Replies
View Related
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
Aug 19, 2009
C3D 2009 - We are grading on a hillside, and need to prioritize our conditional fill situations. First fill at 2:1, if not then build wall and daylight @ 2:1, if not then build full height wall. However the sections are showing all three options where they are applicable. I want it to only show the "best" or "first" solution.
View 9 Replies
View Related
Aug 30, 2012
when move an image into location and then do the place there seems to be no way to undo this and reposition it again? For now I delete the layer and do the place all over again.
Is there a way to reposition it once placed?
View 1 Replies
View Related
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
Jan 10, 2013
it is possible to define point/link codes using some conditional expressions. When I try to write in an expression under "Link Codes" I get an error. Is there a way to create conditional codes without the use of "decisions"?
View 1 Replies
View Related
Oct 1, 2013
I am at a crossroads with this corridor that I have to create in Civil 3D 2011, with a sub assembly that logically seems very simple...the conditions for daylight can be found in "Proposed Cross Section". In short I have 4 fill conditions and 2 cut conditions, based on height above original ground...(there are additional requirements for guardrails and retaining walls but at this point i will settle for my slope reaching original ground)
View 9 Replies
View Related