Add Assembly

Add Assembly

JEHADESIGN
Enthusiast Enthusiast
416 Views
1 Reply
Message 1 of 2

Add Assembly

JEHADESIGN
Enthusiast
Enthusiast

Hi

When we use the Productivity/Add Assembly functionality, it produce a Weldment Assembly instead of a Standard Assembly.

How do we change the setup to use a Standard Assembly ?

 

Claus

0 Likes
417 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support

Hi,

 

Maybe your templates got overwritten?

 

I think the utility you mentioned is using code similar to the one below to create a new assembly, so with this you could check what template is being used to create the assembly.
Then you could open up that assembly directly in Inventor to see what sort of assembly it is.

Public Sub NewAssembly()
    Dim templateDoc As String
    templateDoc = _
        ThisApplication.FileManager.GetTemplateFile( _
            kAssemblyDocumentObject, _
            kDefaultSystemOfMeasure, _
            kDefault_DraftingStandard)
            
    MsgBox (templateDoc)

    Dim doc As Document
    Set doc = ThisApplication.Documents.Add( _
        kAssemblyDocumentObject, _
        templateDoc, _
        True)
End Sub

I hope this helps.

 

Cheers,

 

 



Adam Nagy
Autodesk Platform Services
0 Likes