AutoCAD Inventor :: Change Custom Property Format From Assembly Level

Apr 8, 2013

I have a frame fabrication / assembly with a Custom iProperty called "FINISHED MATERIAL SIZE". I have set the following parameter for this property:

FINISHED MATERIAL SIZE = <Stock Number> x <G_L>mm

This returns the stock size and length to my drawing cutlist. The problem is that the <G_L> Parameter returns the trailing zeros and unit string.

I would like to set all the frame members in the assembly such that the G_L parameter returns a value rounded off to 0 decimal places with no trailing zeros and removes the unit string as well.

Is there a way I can achieve this from the assembly so I don't have to manually open each frame member and make the changes in the fx parameters dialog one at a time?

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Custom Property Format In ILogic

Sep 21, 2011

I would like to set the custom property format for all user paramters from an iLogic code. This is what I've come up with. It runs, but it does not seem to alter the custom property format. What am I doing wrong here?

DimoPartDocAsPartDocument
oPartDoc=ThisApplication.ActiveDocument
DimoParameterAsParameter
ForEachoParameterInoPartDoc.ComponentDefinition.Parameters
oParameter.ExposedAsProperty=True
ShowUnitString=True
ShowLeadingZeros=True
ShowTrailingZeros=False
Precision=kTwoDecimalPlacesPrecision
NextoParameter

i7-2720QM Dell Precision M6600, Win 7 Pro 64-bit, 8GB RAM
Autodesk Product Design Suite Ultimate 2013
Autodesk Vault Professional 2013

View 9 Replies View Related

AutoCAD Inventor :: Custom Property Format Default?

Oct 25, 2013

In the parameters window you can right click a value and choose a custom property format.

We always change everything to fraactional instead of decimal.

Is there a way to set this as default?

View 6 Replies View Related

AutoCAD Inventor :: How To Set Default Unit String Unchecked In Parameters Custom Property Format

Aug 24, 2013

I have generated frame that has 100 members in it. Is there a quicker way of changing G_L unit to a mm so that I don't have to go into all 100 parts to change the custom properties? also I do not need unit string to be appear in my BOM.

View 2 Replies View Related

AutoCAD Inventor :: Change / Apply Sheet Metal Style To All Parts In Top Level Assembly

Oct 24, 2012

I am using this  code placed in the .ipt file to change Sheet Metal material 

If Material_SM=1 TheniProperties.Material="Steel"SheetMetal.SetActiveStyle("RB_Mild Steel")ElseiProperties.Material="AISI316"SheetMetal.SetActiveStyle("RB_Stainless")End If

It works fine presuming code placed in every .ipt file to be ruled.

Is it possible to modify code in a way so when it placed in top assebly it runs through entire assembly finds all Sheet Metal parts and applys Material prpperties/Sheet metal style according Material_SM parameter.

Inventor 2013 SP2
Windows 7, 64 bits
RAM 18GB
Core TM2 Duo CPU 2,99 Gz

View 3 Replies View Related

AutoCAD Inventor :: ILogic - Set Custom Property In Custom Content Center Part

May 16, 2013

When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.

I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".

View 1 Replies View Related

AutoCAD Inventor :: Change The Parameters Of A Custom Ipart Inserted Into An Assembly?

Sep 10, 2013

Is it possible to change the parameters of a custom ipart in an assembly after it has been inserted, or can I only do an insert using AddCustomiPartMember?

In that case I simply remove the previous occurrence and insert a new one I suppose?

View 1 Replies View Related

AutoCAD .NET :: How To Get Custom Property Names / Values From Custom Property Bag

Sep 15, 2011

I have been trying to find a method to extract custom properties from the custom property bag.

I have been able to extract the property value, using the "GetProperty" and the associated "GetValue" method, this method works when I know exactly what property name I am looking for. What do you do when you don't know the property name?

here is my code snippet..

dim myProps as acsmcustompropertybag = mysheet.getcustompropertybag
dim myProp as iacsmcustompropertyvalue = myprops.getproperty("SOMENAME")
dim myPV as string = myProp.GetValue

what I want to do is:

dim myProps as acsmcustompropertybag = mysheet.getcustompropertybag
dim myPN as string = ??????????.tostring
dim myProp as iacsmcustompropertyvalue = myprops.getproperty(myPN)
dim myPV as string = myProp.GetValue

View 6 Replies View Related

AutoCAD Inventor :: How To Change Drawing Sheet To New Custom Sheet Format

Sep 20, 2013

I have an older drawing with an outdated sheet format. I'm wanting to update to a new custom sheet format without having to redimension and recreate views. Is it possible to just update the sheet format?

View 1 Replies View Related

AutoCAD Inventor :: ILogic - How To Sum A Property Of All Sub Assembly

Oct 26, 2012

I got here on in my templates, two types of weight - net and gross. I've changed the main property MASS of each PART to be the GROSS weight, so when i have one assembly i always get the total gross weight.

And when i wanna get the NET, I open the BOM, show the proper column with this net weight and then export do XLS to sum all of then..

Now the doubt is, to get the things easier, is there a way to put some code in the assemblies, that could sum all the properties "X" from each part and sub assembly to get the total net weight ?

View 7 Replies View Related

AutoCAD Inventor :: Assembly Mass Property Incorrect

Oct 29, 2013

I am having a problem with an assembly not showing the correct total mass of all of its components and sub-assemblies.  The value is out by nearly 20%, over 3000kg! 

I have narrowed the mass discrepancy down to a derived part of a sub-assembly.  But this incorrect mass is only present when I navigate to the derived part's iproperites via the browser tree of the higher level assembly where I am having the mass problem.  It is as though the top assembly got some of its mass property information from a previous point in time, i.e. possibly before the derived part's mass properties were updated, and now refuses to look at the current information.

By the way, I have opened up and checked the mass properties of each sub-assembly and the derived part; and when opened individually these show as correct.  I have also tried 'Rebuild All' with no success.

Is it possible for mass properties in an assembly to become corrupted?

View 6 Replies View Related

AutoCAD Inventor :: Sketched Symbol With Custom Property

Nov 30, 2011

I am trying to create a sketched symbol on the fly that has custom properties in it. I am also creating the custom properties on the fly. I need to get the actual expression for the property into the sketched symbol not just a value. I need this so that I can export the drawing as an autocad .dwg that has attributes in it.

View 3 Replies View Related

AutoCAD Inventor :: Sectioning In Assembly Level

Aug 9, 2011

I have to create a workplane and then define the section.

Usually the sectioning is done w.r.t flat surface/s and then the section plane can be offset depending upon our requirement and placement in the assembly. I am not getting this offset option when I want a Sectioned View. The section takes where I click on the flat face straight.

View 5 Replies View Related

AutoCAD Inventor :: Colors In Top Level Assembly

May 21, 2012

I have a sub assembly with frame members and have used different colors for different sizes.  In the top level assembly all the colors are lost, presumably because it defaults back to material color.  Is there a way to get the frame  member colors to display and all assembly levels?

View 1 Replies View Related

AutoCAD Inventor :: Create BOM For Top Level Assembly

Jun 20, 2013

I am using IV 2010. I have an assembly that is made up of subassemblies and individual parts.  Some of the subassemblies share the same parts.  I would like to know when I create the BOM for the top level assembly if it can show parts only with no assemblies.  I want to get the BOM to combine like parts from all subassemblies in one list. I have tried to use the part only option and it still puts subassemblies in the BOM and breaks the parts out per subassembly.

View 1 Replies View Related

AutoCAD Inventor :: Ballooning By Assembly Level

Jan 9, 2014

When ballooning an assembly drawing having a structured/all levels BoM, the balloons default to the part level of the BoM hierarchy.  Is there a way to have the balloons reference the part's subassembly (direct parent) without having to override the value of each balloon manually?

View 7 Replies View Related

AutoCAD Inventor :: Getting A Drawing Border To Act On A Modified Custom Property

Feb 20, 2012

The company I work for produce drawings for various types of fabrication.

Using Inventor I have a drawing border in which tolerance values change depending on the type of fabrication to be produced. The type of fabrication (0,1,2,or 3) is designated by a custom property entered during part/fab model creation.

This property may change depending on various production factors. The issue I have is how do I get the border to recognize this potential change in fab type and populate the tolerance fields with the necessary information? 

View 3 Replies View Related

AutoCAD Inventor :: Keeping Custom Property Date Blank

Mar 22, 2013

My company has a custom property named 'Released date, Type Date.

This date is still empty

I am working on a rule that adds all the custom properties required for the company title block.

This rule can be useful whenever you get a model from a supplier.

I can add a custom property date using the following

Dim oDoc As Document = ThisApplication.ActiveDocument
Dim customPropertySet As PropertySet = oDoc.PropertySets.Item("Inventor User Defined Properties")
Try
iProperties.Value("Custom", "Released Date") = iProperties.Value("Custom", "Released Date")
Catch

[Code]...
 
This code works but sets the released date to Now.

But the release date needs to remain blank when adding.

I tried to make the value Null but I get the error:

"Value of type 'System.DBNull' cannot be converted to 'Date'."

Is there a way to keep a custom property date blank?

View 2 Replies View Related

AutoCAD Inventor :: Turn Off Sketches On Assembly Level?

Mar 25, 2013

I have a rule that turns off all work geometry and sketches of an assembly and all referenced parts and assemblies.

This rule is almost perfect.

When i run the rule. All sketches and work geometry are turned off. But sketches in sub assemblies remain visible in the top assembly. When i open the document of the sub assembly the sketches are off.

So what I see is a top assembly 'override' of sketch visibility inside sub assemblies

How can I turn off visibility of a sketch on a level higher?

View 9 Replies View Related

AutoCAD Inventor :: List First Level Sub Components From Assembly

Jul 6, 2012

Currently I have some code which loops through all sub components of an assembly and sub assemblies. However I only need sub components inside the top level assembly and not any sub-assemblies. Is there an easy way to acomplish this?

This code will list all sub components inside an assembly when a drawing is open.

Dim oDocument As Document Set oDocument = ThisApplication.ActiveDocument Dim oRefDocs As DocumentsEnumerator Set oRefDocs = oDocument.AllReferencedDocuments
Dim oRefDoc As Document
For Each oRefDoc In oRefDocs debug.print oRefDoc.FullDocumentName Next

View 7 Replies View Related

AutoCAD Inventor :: Custom Property Link From Drawing To Part Breaks

Jul 14, 2012

I'm trying to see if I can write a rule that will link a custom property at the part level in a template and have it update when I copy the part and drawing to a new design.  Below is the formula I'm using and it works in the original files but when I use Design Assistant to create a copy for a new design, this formula will not update.

iProperties.Value("Custom", "Title")=Parameter("Bearing_#01.ipt.Build_Title")

View 5 Replies View Related

AutoCAD Inventor :: Make Part Number To Be A Custom Property ILogic?

Oct 31, 2013

I have a part number that i want to defined in custom properties.

Then would it be possible to call it out in Ilogic? that way in any drawing doesn't matter where the part number will always be the same for that part when i balloon and the same in the BOM.

View 4 Replies View Related

AutoCAD Inventor :: Model Custom Property To Sketch Symbol Definition

Sep 29, 2011

How would i insert the "variable name" of a custom iProp to a sketched symbol definition (in an idw)?

I can plonk the value of the iProp in no worries, but to make it "live" is a bit beyond me...

 Sub WeldNote()On Error Resume NextDim oDoc As DrawingDocumentDim SketchedSym As SketchedSymbolDefinitionDim oNoteDef As SketchedSymbolDefinitionDim oDefSketch As SketchDim oTextbox As TextBoxDim SNewText As StringDim sNoteText As StringDim oReffedDoc As DocumentDim lReffedWeldType As Long'Err.ClearIf

[Code].....

View 9 Replies View Related

AutoCAD Inventor :: Assigning Material To Faces At Assembly Level

May 19, 2011

I would love for the day that ADSK allows users to assign materials to faces and surfaces at the assembly level. I know this can be done at the part level but this practice has it's flaws when trying to have an accurate BOM and Parts List as well as other "issues" when using that method.

Take a plated part for example. At my company our structure of a plated part would look something like this:

raw material - machined part - plated part. I'm sure it;s the same at many other manufacturing companies.

Typically we will have a material spec sheet for the raw material. We will have an IPT and INV dwg of the machined part file. We then place the machine part (IPT) into an IAM to become the plated part. We do this workflow because if we chance any geometry to the child (machined part) it will update and reflect a tthe parent IAM  level (plated part). This also keeps out parts list and BOM structure in-line with our MRP system. So this workflow works great for us.

However there is an issue doing it that way. Inventor doesn't allow to assign materials to faces at the assembly level which seems just wrong to me. I kind of understand why they did that but it sure would be nice to be able to assign materials to faces in IAM files. Yes I know I could acheive this by using Derived Component but then my parts list and BOM structure does not reflect the base part. It only reflects the Derived part in my Parts List. Is there a way I'm missing to alter or change the Parts List to pull info of title, part number, etc of the base part rather than the Derived?

Ideally I'd just love for one day INV to allow material assignment to faces and surfaces in the assembly level. It looks rather strange on our drawings where we do a section view of the top l;evel assembly and see parts that are technically made of brass but look to be made of chrome or zinc plating instead because of how we had to assign material to the entire body of the component at the assembly level.

View 9 Replies View Related

AutoCAD Inventor :: Passing Down Assembly Features To Part Level

Dec 11, 2012

How do you save features added in an assembly to the part? For example, if I add a hole in an assembly, presently I cannot see it when I open the part. It seems like a very basic function, I'm not sure why it doesn't do it automatically.

View 6 Replies View Related

AutoCAD Inventor :: Suppressing Assembly Feature Via Level Of Detail?

Dec 13, 2011

I'm trying to use the Level of Detail function to add a hole feature in a sub assembly that will be used in 2 places inside the main assembly, but the sub assembly is present in many other location and does not need this hole. My thought is to have the master level of detail depict the hole feature and have another level of detail with this hole suppressed.I can't get the two levels of detail to save the desired outcome. When I switch LODs, the hole feature will not suppress or unsuppress as desired. Is this possible or am I doing something wrong.

View 3 Replies View Related

AutoCAD Inventor :: Insert Threads Into Hole At Assembly Level

Jan 11, 2013

I have an assembly that is made up of 3 unique parts ( 5 parts total). These parts and there features are to be laser cut, then assembled and welded along the outer perimeter in the small chamfer. I have designed the parts to have 5/16 holes, which will be later tapped to 3/8"-16 UNC after assembly.

Once these parts are assembled, I don't understand how I can change the holes to reflect this. Meaning I want the parts to be pre-drilled(laser cut) with 5/16 holes, but I want the assembly to then have 3/8-16UNC holes.

The hole command will not let me select the existing hole features in the assembly and add threads. What is the consequence of inserting a 'new' hole with 3/8-16UNC threads over the existing 5/16" holes in the assembly?

Is my workflow incorrect? should I have the parts modeled with the tapped holes and just make a note on the drawing to not tap these holes until assembly? how does that affect the laser cutting?  

View 9 Replies View Related

AutoCAD Inventor :: Use Level Of Detail From Subassembly In Main Assembly?

Nov 19, 2012

How can i use a level of detail from sub assembly in the main assembly?

View 2 Replies View Related

AutoCAD Inventor :: Get Top Level Assembly To Display As Per Colours In Subassemblies

Sep 25, 2011

The model I have been working on has been trying to change it's colour all day. Finally I had a crash 'graphics adapter stopped working' and when I re-opened the model it had gone all blue. The top level assembly is all blue but the subassemblies are the proper colours when you open them.

I'm updating my graphics driver which should maybe stop the problem re-ocurring but in the meantime I need to get my top level assembly to display as per the colours in the sub assemblies.

View 1 Replies View Related

AutoCAD Inventor :: Level Of Detail Custom Views

Nov 6, 2013

When i set a specific Plane in my new Level of Detail (Right click on the box set this view as "top") and save, i switch back to master and now the view from the new level of detail transferred over.

How can i make custom top,front,right niews for my new level of detail so it wont affect other details (especially my master view).

View 8 Replies View Related

AutoCAD Inventor :: Get Holes Made On Master Assembly To Appear On Part Level?

Oct 7, 2011

I am fairly new to Inventor and have recently just finished drawing up a machine made of many parts and sub assemblies and then made into one master assembly. Due to the nature of some hole positions i decided to draw some holes directly on the Master assembly thinking it would then change the original sub assembly/part file. Apparently not as i found out making technical drawings. 

How i can rectify this so i dont have to re-draw all the holes on part level and keep my constraints in place?

View 1 Replies View Related







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