AutoCAD Inventor :: BOM Override Ilogic Snippet?
Jul 2, 2012Wondering 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 RepliesWondering 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 RepliesWe 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
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?
I'm trying to change the value of the qty in the bom using ilogic with this expression
ThisBOM.OverrideQuantity("Model Data", "Steps", "QTY_STEPS")
but it gives me the following error
Conversion from string "QTY_STEPS" to type 'Integer' is not valid.
I'm driving an Inventor GA using iLogic, within this GA are various guard sub-assemblies........... I designed it so that if the material for the sub assemblies is changed then the sheet thickness is also changed (eg, if alu = 3mm sht, mld stl = 2mm). Look at the attached, the grey parts are, in reality, meshed. However i do not want to create the meshed profiles so can i override the density (x0.7) using iLogic. I could override the mass by adding (0.7 x mass) BUT this does not update if the geometry changes (also driven by the GA.
View 1 Replies View RelatedWhat is the difference between an Override and a Child Override?
Why do some sections have Override Check Boxes but no Child Override Arrows, and vice versa?
What happens when you click a Green Check Mark in the box?
What happens when you click a Red "X" on the arrow?
HP DV7 Laptop
Intel Core i7-3820QM 3rd Generation Quad Core 2.7 GHZ CPU
16 GB DDR3 RAM ( 2 DIMM ) / 180 GB SSD
Nvidia GeForce 650M Graphics w/2 GB Memory
Windows 7 Professional 64 bit / AutoCAD Civil 3D 2014
I'm using Sheet Set Manager in Autocad 2011. I'm using 'page setup override', and as plot area 'print extents'. So far, so good. Until someone forgets something outside the title block, and the extents feature is not good anymore (several people working in the same projects).
So, I decide to use as plot area 'Layout' instead, typing the X & Y to determine the area to be plotted.
Now, the setup "override" doesn't override. It’s using the drawing plot area from the drawing itself, which completely defeats the purpose. Am I missing something?
My company manufacturs many sheet metal parts that ends up being painted.We need to describe both material and surface treatment in the title blocks on our idw's. Inventor parts then have a selected material (the required steel type) and a color override is applied (the required paint job) But color override is not just like that to retrieve for the title block, like standard iproperties like
<MATERIAL> or <THICKNESS>
How I can override the CoG for an imported part. I have an imported motor as one part, Inventor sees the CoG as though it's one solid piece but in reality this is not true. I can override the mass so why cant I override the CoG???
View 1 Replies View RelatedI am clearing an override of a part in a subassembly. I tried to use the clear appearance button but I get message saying Active Design View has no appearance overrides which is not true. You can see in my attachment there clearly is an override from Chrome-Polished in the IPT to Satin- Brushed in the IAM.
There is no "Clear Override" in the Appearance pull down. I think I used to be able to click on color As Part in previous Inventor version but now it's different. The black areas are embossed features representing silkscreened graphics I need to preserve.
I tried to post the files in Inventor/Customer Files NG but the "new message" button was grayed out & not working.
I’m currently running Inventor 2010. Is there a way I can override the calculated physical mass and drive the mass value with a column in the ipart table?
View 4 Replies View RelatedHow I can check/uncheck the override text model check box in tolerance dialog (for a dimension in a .idw document), in a DLL add in. Is possible, or inventor api not include this possibility.
View 7 Replies View RelatedI try to assign a shortcut to a function using VBA. (I find the same problem when I do it through the UI of Inventor)
ThisApplication.CommandManager.ControlDefinitions.Item(...).OverrideShortcut
ThisApplication.CommandManager.ControlDefinitions.Item(...).OverrideShortcutType
when I assign "" to OverrideShortcut the the OverrideShortcutType is kNoShortcut
when I assign "D" to OverrideShortcut the the OverrideShortcutType is kAliasShortcut
when I assign "Ctrl+D" to OverrideShortcut the the OverrideShortcutType is kAcceleratorShortcut
So far so good but now:
when I assign "F11" to OverrideShortcut the the OverrideShortcutType becomes kAliasShortcut resulting in:
I have to type F 11 to launch the command. What I want is to Press the key F11 to lunch the command instead of typing F 11
(This works good with Ctrl+D but not with F11)
Can I work around this to use the Function key's ?
I would like to overide the dimension value with a letter - Dim "A" etc. but the overide box will not accept an alphabetical input. At present, the only way I can get around this is by sketching the basic dimension box separately.
View 9 Replies View RelatedHow can I restore "color override" command on manage reebon? In 2013 it is not there by default.
View 1 Replies View Relatedhow can I close an iLogic Form from either an iLogic Rule, or a VBA Rule (VBA is the Preferred method)?
View 5 Replies View RelatedIs there a way to override a dimension and have it shown as a GD&T Basic dimension. I can override a dimension with the text option but not with a box around the letter. It sounds strange to do this but the letter represents a dimension in a chart format that are Basic dimensions.
View 9 Replies View RelatedI'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.
I'm trying to do something like this:
[Autodesk.AutoCAD.Runtime.CommandMethod("REFEDIT", Autodesk.AutoCAD.Runtime.CommandFlags.UsePickSet)]
public void RefEdit() {
Document doc = AcadApp.DocumentManager.MdiActiveDocument;
[Code] ......
I haven't undefined the default command, my definition of REFEDIT executes anyway. I wanna be able to run the default command from my definition.
doc.SendStringToExecute(".REFEDIT ", true, false, false); will loop forever.
I am still unable to assign a viewport color override to a 3D solid xreffed into the current drawing. Is there a fix yet? The override color shows in the vieport but when executing a "hide" or plotting the object reverts to it's original color. It would seem to be a large enough "bug" to warrant a hotfix
View 9 Replies View RelatedI am doing a tie rod the issue I have is when the length is between 2.001 and 2.250 we would drill thru all but only tap the ends .750 deep. If the part is 2.000 would would drill and tap thru in one step and not have to rotate the part in the lathe.
How do I get ilogic to understand if my number is between this 2.001 and 2.250 to lengthen the drill length parameter?Or add a mid plane cut? ( trying now code below reflects this try)
Not sure what way I want yet but I just can't seem to find a snippet or code to do this. I tried to add a list in the parameters for it to read but seems to do nothing.
If LENGTH <= "2" ThenFeature.IsActive("Thru_All") = TrueFeature.IsActive("Hole_A") = FalseFeature.IsActive("Hole_B") = FalseiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP THRU 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"ElseFeature.IsActive("Thru_All") = FalseFeature.IsActive("Hole_A") = TrueFeature.IsActive("Hole_B") = TrueiProperties.Value("Project", "Description") = "RETURN ROLLER SHAFT, " & iProperties.Value("Custom", "DIAM") & " Ø S/S, TAP BOTH ENDS 3/8-16, " & iProperties.Value("Custom", "LENGTH") & " LONG"End IfIf LENGTH = (My_List) ThenFeature.IsActive("Mid_Cut") = TrueElse Feature.IsActive("Mid_Cut") = FalseEnd If
Is there a way to stop Dim Style Override, so it does not automatically apply to new dimension? Without having to go into dim styles and delete style override manually?
View 9 Replies View RelatedI'm trying to modified (override) the surface label components using vlisp, similar to using text override, I pick the label, and found the text component, but it's seem I found the default, they all changes, plus I didn't see the override text.
where the override text and/or indivisible label property are stored?
I have a function that allows the user to set a color on a modified dimension (only the text of it). However, when this function is enabled and the user wants stretch the dimension, Autocad make a fatal error and close.
Here is where it crash (in red) :
public overridebool WorldDraw(Autodesk.AutoCAD.GraphicsInterface.Drawable drawable, Autodesk.AutoCAD.GraphicsInterface.WorldDraw wd)
{
if (showText || resetText)
{
Dimension dm = (Dimension)drawable;
dm.UpgradeOpen();
[code].....
I added this (in red) but it will just turn in round in my code with another function and made the fatal error still :
Dimension dm = (Dimension)drawable;
if(!dm.IsWriteEnabled)
{
dm.UpgradeOpen();
dm.Dimclrt = dimTColor;
dm.DowngradeOpen();
}
I recently acquired AutoCAD 2007 LT and I'm trying to modify the temporary override keys the way I like them, and I can not get them to modify, or to work in their current settings.
I found the entry for the topic 'To modify a shortcut key.' It has 8 steps. I got through the first five, but the sixth I can not get to work as they describe it.
When I go to enter the new temporary override key, nothing appears in the entry window. For example, I am trying to set Endpoint Snap to CTRL-E. (It is currently SHIFT-E.) This is how I had it in 2002 and it shouldn't be a problem. But when I type it in, nothing appears. In fact, no matter what I type, nothing appears unless I press 'shift' first.
I also can't get them to actually work. If I'm in the Line command, and I turn off the running Osnap, and I press Shift-E, it does not actually create an endpoint snap for me, it just types a capital E in the command line, which does nothing for me.
why every time I use the DAL shortcut, I get a dimension style override appear? Yet it doesn't do it when i use DIMALI or the DIMALIGNED button?
I've searched extensively for a solution to this yet I can't find a solution that works. The >Drawing Setup>Scale tab doesn't seem to exist in this version, and I've tried setting all the CreateDimOverride values in the registry to 0, but even that isn't working.
AutoCAD 2012
I know it is easy to enter special characters in using “%%” escape sequence. However, if I am not entering in single or multiline text, but rather in a dimension annotation’s “override” field, I found that the newly entered text completely overrides the original dimensional annotation.
For example, if originally I had a diameter of 7.98, and I would like to put a Φ sign in front of it to make Φ7.98, but it seems that there is no way to preserve the original content of 7.98 together with the Φ sign.
Is it possible to keep the original measurement within the string? What is the special character representing the original measurement?
Possible to run the 'import .xml structure' routine for an assembly BOM using either iLogic or VB?? I'm trying to replicate the Import button at the bottom of the BOM screen....
View 5 Replies View RelatedWhat I am trying to do is insert a part into an assembly file using iLogic. I basically want to mimic Inventor’s “Place” command using ilogic, maybe something like this:
oPath = ThisDoc.Path & ""
oFile = "File.ipt"
Component.Place(oPath & oFile, False)
This att. doc shows rule for exporting dxf out of drawing. It is working on one sheet just perfect. In multi sheets it save allways with same name. I want to choose from which sheet i need dxf but to be saved by sheet name or model properti name. Is that possible?
View 9 Replies View RelatedI have an external ilogic rule that creates a set of DWF drawings for all parts and subassemblies (as long as the idw files exist) within and including a main assembly.
I would like to merge all the DWF drawings of the sub assemblies and component parts into the DWF of the main assembly. Is there a method within DWFAddIn that will allow me to merge the files? Is there another way that I can merge the DWF files using the same ilogic rule (one rule to create and merge all DWF's together?)