AutoCAD Inventor :: Material Change Using API
Jul 3, 2013
I changed the material using the vb.net code shown below.but after changing material the object is not updated ,the volume and mass didn't change .
Dim oDoc As PartDocument
oDoc = inventorApp.ActiveDocument
Dim oDTProps As PropertySet
oDTProps = oDoc.PropertySets.Item("{32853F0F-3444-11d1-9E93-0060B03C1CA6}")
[code]....
View 9 Replies
ADVERTISEMENT
Jan 10, 2013
If I need to change the material of all parts in an assembly I find it convenient to do this in the BOM. In the 'parts only' view I add the material column, change the first one and just drag it down like in Excel.
There are however some parts where the material is greyed-out (see attached image) and I cannot change them in to something else. I already traced this to parts which are present in multiple different sub-assemblies. I guess that's also the reason for the blueish/red icon instead of a normal part icon.
If I open one of the sub-assemblies the part is fine and I can change the material.
Inventor 2013
View 2 Replies
View Related
Mar 2, 2013
I am trying to change the iProperties "Physical" "Material" using an Inventor VBA macro..For example, say the material is set to "DEFAULT" and I want to change it to "TITANUIM", how can I do this using VBA?
View 1 Replies
View Related
Jan 7, 2014
In a project I'm working on I need to make the text have mirror properties. But when editing the text all i can choose from is "normal" colors.
So is there any way to make text use materials, like you do on normal surfaces?
View 5 Replies
View Related
May 28, 2012
I received a rather large assembly file from a client that was done in Pro E. I was wondering if it is possible to change the entire assembly from Default material to steel without having to go into each individual part and changing its material manually (which could take several hours) I am using INV 2012 Pro with SP1 installed.
View 2 Replies
View Related
Feb 4, 2011
I have a problem with the Bolted Connection tool in inventor. When I use it to place fasteners in my assembly everything works fine, i can select the material I want, etc... The problem is whenever I need to change something in it, the fasteners changes to the first one in the list that appears when you click the ... button, which means that I always get the wrong fasteners. The workaround we found was to click the ... button again for all the fasterners, and this has to be done in the right order (start to end) otherwise I will get again the wrong fasteners and to select the fasteners again.
One more thing, I'd like to know if it is possible to have a more user-friendly way to change the bolts in bolted connection. I would like it to be like when you import a component from the content center, with that dialog box. As for now, I have to choose the bolts with their part number while when I import them with the content center, I have all set the key values.
View 1 Replies
View Related
Nov 9, 2013
I wish I can open my general assembly BOM and set the proper Materials to my all my parts after migration from 2012 release.
But I cannot change Material for the some custom part in the assembly BOM in the Parts Only tab. Parts refusing to change a Material have special symbol and I guess it means “promoted assembly” – no info regarding these symbols.
I can change any Material in Structured and Model Data tabs but it is extremely inconvenient for the big assembly.
[URL]....
The questions is: Why those promoted assemblies have inaccessible Material in the Parts Only tab?
I have similar subassemblies built in similar way as you can see fro video, but one is treated as promoted assembly and other as promoted part, the question is what possible difference between those is?
View 8 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
Jul 6, 2013
how to change an "IPT" files iProperty "Material" with a VBA macro?
For example,
If I have created a part (ipt) file, the iProperties "material" is set to "Default"
How can I change the material to say...."GOLD" (Example Only!!!) using a AutoDesk Inventor VBA macro?
View 1 Replies
View Related
Sep 20, 2011
I need to change an entire assembly's parts to a different material. How can I do this without editing each part?
View 2 Replies
View Related
Apr 18, 2013
I get this error message when attempting to change the material in the frame generator.
View 9 Replies
View Related
Oct 13, 2012
How to change the units to metric in material editor? See attached picture
View 1 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
Feb 1, 2012
How do I change the spelling of Aluminum to Aluminium in the material database in Inventoe.
View 1 Replies
View Related
Oct 5, 2011
How do I change the a part material render style within an assembly?
I have tried this below. It changes the name but doesn't update the render style.
Sub Material()Dim oassy As AssemblyDocumentSet oassy = ThisApplication.ActiveDocumentDim ocompdef As AssemblyComponentDefinitionSet ocompdef = oassy.ComponentDefinitionDim ooccurr As ComponentOccurrencesSet ooccurr = ocompdef.OccurrencesDim opartdef As ComponentDefinitionSet opartdef = ooccurr.Item(11).Definitionopartdef.Material.RenderStyle.Name = "Red"End Sub
View 2 Replies
View Related
Aug 4, 2013
I want to change the material of a sheet metal part using inventor api.I tried something like code
Dim partDoc As PartDocument partDoc = inventorApp.Documents.Open(FilePath & filename, False) If partDoc.SubType = "{9C464203-9BAE-11D3-8BAD-0060B0CE6BB4}" Then Dim smDef As SheetMetalComponentDefinition smDef = partDoc.ComponentDefinition Dim style As SheetMetalStyle style = smDef.SheetMetalStyles.Item("sheetMetalRule")
But I can't get the code for material change.
View 1 Replies
View Related
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
View Related
Nov 22, 2013
How do we change sheet metal parts material, thickness Bend Radii from an assembly in groups.
View 3 Replies
View Related
Nov 2, 2013
I can delete every unused material except one in the Material Editor.I am trying to make the custom Material library and somehowI have got the Material I cannot delete. URL....
View 9 Replies
View Related
Mar 12, 2013
I am in the samill building buisness. While designing I thought it would be nice to show logs on our equipment. Is there anyway to show bark on drawings to show the texture on the final drawing?
View 1 Replies
View Related
Oct 18, 2013
Is there a way to change the material definitions to CTB format in the plot style under the material style? See attached image.
I have a client that wants everything in CTB format and in AutoCAD Architecture. I can get the drawings into CTB but the materials plot way too heavy and when I go in the styles they show Full Saturation or Wide, Thin from the STB plot styles.
The Drawing is in CTB and I am pulling my hair out trying to get the couple materials used set to Color based plotting.
View 1 Replies
View Related
Jun 15, 2012
Can't seem to locate the Inventor Material Library....under Default in Projects, the Inventor Material Library is highlighted in Red. Where I need to browse to inorder to locate it?
View 2 Replies
View Related
Aug 29, 2012
I have a .3ds file I import
After the import it shows the differnt meshes, but underneath each mesh it has the same material name.
If i click on the material tab, it show a whole bunh of materials, but when i click them nothing gets selected, only when i click the 'default' material the whole model gets selected
is there away to change the individual mesh's materials manually,
View 2 Replies
View Related
May 26, 2013
I am usually fine with changin the materials by going to visibility settings- imports and changing the materials.
However I have a file where I cannot change the material no matter what I do. I tried importing it as a family, I tried exploding the dwg, I tried setting the layers to 'color by layer'. It is beyond me
There is another file where I can only change some layers but not the others.
View 1 Replies
View Related
May 10, 2011
I am running 2008 and am having a problem using Xrefs in my scene. When I change the material in the Xref file, the parent scene that references the xref doesn't update the material. If I change the Xref geometry it will update it.
View 1 Replies
View Related
Jul 24, 2012
I am creating a carpet tile family that is sized at 18"x36". When I load the image from the manufacture into the material I give it the 18"x36" size, but get something different in the family and project. See image attached.
I want the red lines to be at the bottom of the family.
I tried to change the material image size to 36x36" and it only scales in the y direction. I also tried to offset the image so it fills the family area and that doesn't seem to work either.
View 5 Replies
View Related
Jan 20, 2014
I understand how to change material by family type but how can I change object subcategory by family type? Is this possible?
View 5 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
Jan 5, 2012
Is there a way for the scale to be correct to the drawing?
View 1 Replies
View Related
Apr 24, 2012
How to make a type of material go in one direction or by another degree . Ex: if you click on a wood type material, it goes up or down and right or left depending which side of that object is. On the picture below, it goes up and down, side to side no all sides go in one direction. I need to know how to mange the direction of the way of where the material go.
View 7 Replies
View Related
Nov 1, 2012
Is there a way to export a Inventor .iam/.ipt to .stp/.sat and keep material property and center of Gravity?
Is there any "external" format that will keep these properties?
View 2 Replies
View Related