create a sub-assembly with a macro

Hi, i would like to create a sub-assembly with macro but i can't find the correct function to do this

can you help me ?

Alex

Reply to
alexkickstand
Loading thread data ...

Use the macro recorder, do what you need to do and edit the macro to suit your needs.

Reply to
Dave

hi, i have already uses the macro recorder but anything happend

the macro recorder save :

---------------begin code--------------------

Dim swApp As Object Dim Part As Object Dim SelMgr As Object Dim boolstatus As Boolean Dim longstatus As Long, longwarnings As Long Dim Feature As Object

Sub main()

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc Set SelMgr = Part.SelectionManager

End Sub

---------------end code----------------------

Reply to
alexkickstand

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.