Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone knows of an example for crea

Status
Not open for further replies.

Jevakil

Mechanical
Joined
Mar 19, 2003
Messages
41
Location
US
Anyone knows of an example for creating property manager view using "ProperyMangaerPage" method in VB? I tried to creat it using C++ COM and I keep getting an "unknown error, contact Solidworks" message.

I am hoping I can have better luck with VB.

Thanks.



jevakil@mapdi.com

One nuclear bomb can ruin your whole day.
 
Dim swApp As SldWorks.SldWorks
Dim swPart As SldWorks.PartDoc
Dim swPage As PropMgr
Dim Retval As Long

Set swApp = CreateObject("SldWorks.Application")
If Not (swApp.ActiveDoc Is Nothing) Then
If swPage Is Nothing Then
Set swPage = New PropMgr
swPage.Show 'display it
Else
swPage.Show
End If
End If
 
Thank you gentlemen.

Regards


jevakil@mapdi.com

One nuclear bomb can ruin your whole day.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top