AutoCAD Inventor :: ILogic Snippet - Change Hatch Pattern In Section Of Specific Material In IDW
Dec 13, 2012
I am completely new to ilogic but would like to make a rule in my idw file that change the hatch pattern in a section of a specific material.
Short Version:
I have an aluminum extrusion part. Material is set to Aluminum-6061. In any section view of this part I want the hatch to be ANSI 31 with a rotation of 45 degrees and a scale of .02 How do I do this?
View 1 Replies
ADVERTISEMENT
Oct 3, 2012
Is it possible to assign hatch patterns for material styles? I need IV13 to draw Ansi32 for steel and Ansi31 for Aluminum automatically.
View 4 Replies
View Related
Jul 2, 2012
Wondering if there is a way to change the ilogic snippet to override the BOM value based on a filename instead of the part number?
View 1 Replies
View Related
Nov 2, 2011
We use the snippets from iLogic on all of our parts to measure the length, width or height of our parts. However, we have noticed that when a 'Move Face' operation or a 'Replace Face' operation is used, the length measured does not seem to take into account the Move/Replace operations.
Are the Move/Replace operations different than other features like Extrude/Revolve? Is there something "ghost-like" about them??? The edges work fine on the drawing side, so I'm not sure what is different. Maybe it is the iLogic snippet?
In regards to it being the snippet, is there another code I can use that doesn't require specific feature or part information built in?
Inventor 2013 Product Design Suite
Vault Professional 2013
Windows7 x64
Autodesk Inventor Certified Professional
View 3 Replies
View Related
May 23, 2012
The attached part has some bad work features on it, but I don't care about that (easy fix). It also contains a rule that simply changes the material from "P AND O" (pickles & oiled) to "201 S/S", for some reason the faulty work geometery causes this rule to throw an "unspecified error". If you delete the bad work geometry the rule runs fine.
View 2 Replies
View Related
Oct 12, 2011
why the script below doesn`t change Physical material properties? It changes the thickness of the part, but not material properties on the BOM...
ShThk = InputListBox("Sheet Thickness", MultiValue.List("ShThk"), ShThk, Title := "Choose Thickness", ListName := "Thickness")
' material thickness from multi-value parameter called ShThk
If ShThk = 0.3125 Then
SheetMetal.SetActiveStyle("5/16"& Chr(34))
Else if ShThk = 0.25 Then
SheetMetal.SetActiveStyle("1/4"& Chr(34))
Else if ShThk = 0.1345 Then
SheetMetal.SetActiveStyle("10ga")
else if ShThk = 0.105 Then
SheetMetal.SetActiveStyle("12ga")
else if ShThk = 0.1793 Then
SheetMetal.SetActiveStyle("7ga")
End If
View 3 Replies
View Related
May 10, 2012
Change pattern ilogic. How do you change the distance and quantity in an assembly with ilogic?
It is simple in a part but in an assembly the parameters and equations do show.
View 1 Replies
View Related
Apr 17, 2013
I have section views created from corridor model that also have had materials computed. The cut and fill areas are hatched solid and I want them set as another hatch style but after attempting to adjust the pattern it does not change. How does one change this and have it show? Civil 3d 2013 is currently being used but may have to back track to 2009.
Dell Precision T3500
Windows 7 x 64
Intel Xeon @ 3.07 GHz
12 GB RAM
NVIDIA Quadro 4000
Civil 3D 2013
View 7 Replies
View Related
Apr 13, 2013
Is it possible to get the wall fill pattern to show up in plan view but not in a specific section view? I tried the detail levels, Course, medium, fine, and of course the hatch pattern doesn't show up in course, but then the wall components don't show up either.
I am in a section view where i want to show a repeated cmu detail component up the wall as part of a detail, but then the hatch pattern is displayed behind it. I don't want to remove the hatch pattern entirely because I still want it to be displayed in the plan view.
View 2 Replies
View Related
Mar 5, 2008
Is there any way to change the default hatch patern from ANSI31?
the default hatch is WAY too small for sitework & tends to bog things down if you forget to set the hatch pattern first.
I tried HPNAME but that seems to be session dependent & doesn't work if set in the default template.
I'm about >< this far from just editing the ANSI31 definition - I know this is NOT a good idea but I hate having things freeze up whenever I forget to set the hatch pattern & hatch a 20' wide X 1000" long firelane with ANSI31 at scale 1.
View 9 Replies
View Related
Oct 13, 2011
I am running Civil 3D 2010. I have hatch a bunch of areas with the gravel pattern hatch. However, they are at different scales. When I try to change the scale I get a totally different hatch pattern. I have attached a screen shot showing my problem. Hatch picture.pdf
View 3 Replies
View Related
Oct 25, 2012
I have several objects in a drawing. These objects are placed on a layer: "Layerhatch". These objects all have a hatch pattern: "solid". Now I want with vba that the pattern of this objects change from "solid"into "ANSI31". (For example with a button).
I have tried this with a adadselectionset but it doesn't work.
Private Sub CommandButton1_Click() Dim tSelSet As AcadSelectionSet Set tSelSet = getSelSetByLayer("Layerhatch") If tSelSet Is Nothing Then MsgBox ("No Selectionset") ElseIf tSelSet.Count = 0 Then MsgBox ("No objects found on Layer "Layerhatch") Else
[Code]....
View 6 Replies
View Related
Nov 18, 2011
I need to change the hatch size (not the pattern scale or space, juste the hatch size).
Exemple : I have a circle, and a hatch inside the circle. The radius of the circle is 10, so the radius of the hatch is 10 too.
What i want to do is to make the hatch smaller (or bigger) like this : Circle radius : 10, Hatch Radius 5 (or 15).
My first idea was to recreate a new circle with radius 5, and a new hatch inside and then erase the second circle. It works, but not very effective in my case.
So, it's why i came here to ask if there is any solutions to make this faster, easier, without having to recrate another hatch, another circle...
View 1 Replies
View Related
Sep 4, 2013
I am having a very strange issue that appears in the Materials editor within Revit 2013 Update Release 3. If I change a surface or cut hatch pattern within the editor, and then attempt to close out of the editor, go to a different material, or apply the change, the hatch dialog pops right back up again, as if I never closed it. I have found two ways to get out of this obnoxious loop:
1. Use the 'esc' key to back out of the materials dialog (unfortunately no changes are saved).
2. Change the color of the hatch - this allows for the changes to be applied etc.
I've tried resetting the UI and reinstalling Revit to no avail.
View 1 Replies
View Related
Oct 5, 2011
For some reason I can't change the hatch pattern scale prior to hatching an object although after placing the hatch I can. The procedure I am using is as follows in LT2011. Select hatch, set the hatch style, over type the scale say to 100, click inside the area to hatch. Immediately the hatch pattern scale sets itself back to 1 I then have to type 100 back in and then the hatching will be set.
View 0 Replies
View Related
Sep 27, 2013
When assigning materials to a part in inventor the process is simple, however when one wishes to assign a specific steel type ie ASTM A516 as opposed to just a generic steel then this is where it gets a little more complicated.
This specific steel type will also need to be called up in the parts list relevant to the individual part that it is attached to.
I know that a custom material can be added to the favourites section in the materials library,and this can be done if required.
Have i delved deep enough into the inventor materials library , do the basic steel and others materials ie plastics break down into specific types with their elastic properties,yield stresses etc etc in other words a more comprehensive materials library or is this something that must be created by custom material input.
View 2 Replies
View Related
Sep 26, 2013
I patterned features but the material did not come along for the ride. I know I can change the material manually after the fact but I am making a parametric design so I want this to happen automatically. How do I do this?
View 5 Replies
View Related
Aug 3, 2011
I'm trying to build a simple ilogic form to fill out iproperty infomation for parts we generate. Our company only uses a few of fields that are available. The problem is that the Physical tab is not available in the form editor. I would like to add this field to my form to be able to select the material for the part. The style/standard editor in our part template file holds all materials we use. Summary, Project, Status, and Custom are all available, why isn't Physical?
View 9 Replies
View Related
Jul 18, 2011
I would like the section line to have a special line type and color. How can this be changed?
View 1 Replies
View Related
Dec 7, 2011
I've had a simple lisp I've been using for years that suddenly disappeared. It required that you identify a block name, tag name, and the value that you want the tag to be. All of this is performed via command line, so it is scriptable. Since I lost it, I've been experimenting with -attedit. This command comes frustratingly close to what I'm looking for, except it only appends an existing tag, or replaces a specific string within the tag; I can't get it to replace the entire tag, regardless of its value.
1> Any lisp routine that does what I describe?
or
2> How to make -attedit replace a tag value without regard to what the value currently is (like a * wildcard)?
View 9 Replies
View Related
Sep 11, 2012
I've got a recurring problem with using hatch patterns on 2013. Importing a new hatch pattern more than often than not results in Inventor winding up the memory usage on the PC to bursting point as it runs through "Calculating containment of profile areas" that seems to be called when previewing a hatch pattern.
The problem seems to be with more complex patterns (I'm using a stone wall type hatch - mountainledge.PAT is a prime example) and I think the issue is related to the scaling factor used. IF you remember to wind the scale up BEFORE trying to preview the pattern you can get away with a few minutes of down time, but if you leave the scale at 1 its goodnight!
It would be nice if Inventor could warn you (a bit like it does if you foolishly opt for a huge part array) becasue not only do you lose your inventor files but also any other unsaved app data as in my case my Dell M6500 PC just dies as all available memeory just gets swallowed up.
Perhaps I should try multiplying the co-ords in the PAT file by 25.4 as it could be that we use the poorer cousin of the good old inch system. metric???
View 3 Replies
View Related
Oct 23, 2013
I am interested in Learning about Ilogic and the Itrigger. I worked at a company where they had a prompt that would change, size, material, hole quantities etc. I am trying to recreate that for a cabinet but cannot seem to find a good tutorial, I know I need to write some sort of rule to do this but cannot find out specifcally how to do so.
View 2 Replies
View Related
Sep 25, 2013
The following rule works perfectly as an external rule except the Materiial and Appearnace pull downs do not update. I know I am missing something easy. Here is my code
'Set the materials libraryassetLib = ThisApplication.AssetLibraries("iLogicTestMatLib")'Set the current document activeoMy Parameter= ThisApplication. ActiveDocument.ComponentDefinition.Parameters.UserParameters'Turn off error reporting on parameters and.
[code]....
View 3 Replies
View Related
Dec 6, 2010
Is there a way for forcing a flat pattern, when unfolded, to a specific length?
View 6 Replies
View Related
Jan 31, 2012
In the drawing environment is there any way of defaulting hatch to be turned on when creating an ISO of a section?
View 1 Replies
View Related
Apr 30, 2012
i want to export my part list with ilogic in a excel template but dont want all the part list column and dont erase the column i skip in excel?
View 3 Replies
View Related
Sep 11, 2013
I am looking for information on the option parameters, any documentation?
I found some code to query what parameters there are (Rule: GetTranslatorOptions), just not sure what the enumerations are for some.
Specifically: ExportUnits, Resolution
Using Rule:ExportSTL
I have changed the Export Units from 1 to 4 and do not see any change to the STL ASCII output.. not sure what this parameter does... Expected it to be an enumeration of the drop-down box that you see during "manual" exporting.
View 1 Replies
View Related
Mar 15, 2013
Is it possible to automatically divert Inventor to save to a specific folder within the workspace???
If a certain iProperty is set to yes, we want the user to save that file into a particular folder, if they try and save it elsewhere a message is popped up telling them an error has been made please try and save in the correct folder.
Admittedly I am not the most competant iLogic programmer but this is what I have thus far
Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 5388 StartFragment: 314 EndFragment: 5356 StartSelection: 314 EndSelection: 314
SyntaxEditor Code Snippet
WorkspacePath=ThisDoc.WorkspacePath()
DrawingPath="C:Live WorkSpaceDesigns3D Designs3D Drawings"
[Code] .......
View 4 Replies
View Related
Dec 4, 2007
I have an assembly drawing .IDW with more than 50 instances of an O-ring (same ipt.). Is it possible to edit the hatching of the O-ring and all 50 will update without having to edit each individually. ?
Inv 2008 sp1
View 9 Replies
View Related
Jul 15, 2013
How to access the color for a particular hatch within a drawing using iLogic.
I would like to color the hatching for parts based on paramaters besides material.
ie.
Purchased parts = Green Hatch
Refrence = Grey Hatch
I would hope one could loop through the views looking for hatches, and once found, check the part they are associated with, then based on an "if then, change the hatch color and move on to the next pattern.
View 4 Replies
View Related
Aug 22, 2013
I have a problem were when , i take a design accelator shaft to .idw and section it the the hatch lines do not appear as they would if it was a shft drawn from scratch.
View 3 Replies
View Related