EDSI Hot News   Syndicate    
AutoCAD Civil 3D Video
 

AutoCAD Electrical Webcasts
 

Autodesk Inventor Webcasts
 

FREE BIM Solutions Webcast
 

  Wednesday, September 08, 2010   
You are here: Manufacturing  EDSI Manufacturing Community  Being Inventive - Inventor Support  
Being Inventive     

Being Inventive - Inventor Support

Being Inventive is the official blog of the Inventor Product Support Team at Autodesk.

We plan to cover a plethora of subjects that we come across in our daily work, starting with the most recent 2010 release of Inventor but we will not shy away from topics going three releases back.

We hope our experience will be also your gain and that the posts we will publish here will make your life with Inventor even more pleasurable.

And remember: be inventive with Inventor.

Bob

EDSI Digital Prototyping Info
Autodesk Mechanical Products
Autodesk Manufacturing Community
Being Inventive - Inventor Support    Print   
Migrating derived assemblies that use an associative viewrep
In R2009 you could manually override the inclusion of components despite the fact that an associative viewrep was used in a derived assembly. Starting  from R2010 onwards , Inventor no longer allows the manual inclusion override when an associative viewrep is used. If you leave the derived assembly in R2009 this is not really a problem. The problem arises when such a derived assembly is migrated to R2010 or R2011 and gets edited . After edit (and without changing anything in the editor) , the number of included components will be different in R2010/R2011 compared to R2009! Here is an example of such a situation. Solution for R2010/R2011:Run below macro on the derived assembly.The macro corrects the derived assembly for use in R2010/R2011 and automatically saves the file to the same filename. Note this macro will not work in R2009. '==========================================Sub extract_derived_component_state()Dim oPartdoc As PartDocumentSet oPartdoc = ThisApplication.ActiveDocumentDim oDef As PartComponentDefinitionSet oDef = oPartdoc.ComponentDefinition'We assume that we work with the first derived assembly.'Since 2011 multiple derive operations are possible in a single iptDim oDerivedComp As DerivedAssemblyComponentIf oDef.ReferenceComponents.DerivedAssemblyComponents.Count = 0 Then    Exit Sub Else    Set oDerivedComp = oDef.ReferenceComponents.DerivedAssemblyComponents(1)End IfDim oDerivedDef As DerivedAssemblyDefinitionSet oDerivedDef = oDerivedComp.Definition'Scan through all occurencesDim occ As DerivedAssemblyOccurrenceDim state() As LongDim i As Integeri = 0For Each occ In oDerivedDef.Occurrences ReDim Preserve state(i) state(i) = occ.InclusionOption Debug.Print state(i) i = i + 1Next occ'Remove associativity flagDim viewrep As Stringviewrep = oDerivedDef.ActiveDesignViewRepresentationoDerivedDef.ActiveDesignViewRepresentation = ""'Reset the occurence state the way it was before changing the viewrepi = 0For Each occ In oDerivedDef.Occurrences occ.InclusionOption = state(i) i = i + 1Next occ'Push the change so that it becomes visible in the derived dialogoDerivedComp.Definition = oDerivedDef'Save the partThisApplication.SilentOperation = TrueoPartdoc.SaveThisApplication.SilentOperation = FalseEnd Sub'===================================================
04/23/2010
Text missing in the Sketch environment
You are working with AutoCAD Inventor 2011 and you do not see any Text in your Sketch environment.We have had a few customers recently complaining of this and we think this is due to a Windows Update but not confirmed at this stage.The solution so far is to switch to "Compatibility Mode" in Application Option hardware tab.  
28/18/2010
Page 1 2 3 4 5
Main Phone (540)345-1410
Copyright 2010 by Engineering Design Systems, Inc.

Terms Of Use | Privacy Statement