Hi ,
This is Prasenjit from VEST,New Delhi, India , I need Yoursuggestion regarding
SOLID WORKS 2007 , ADDIn ( VB-2005 , Dot net version) , usercontrol loading problem on Feature Manager Tab.
We created user control ( Cavity Browser Tree view ) in VB 2005 ,but when we call it through Solid works ADD-in , we wont be able toload Cavity Browser ( dot net ) control in the Solid Works FeatureManager Tab , How we can load the Cavity Browser Tree View controlin the Solid Works Feature Manager Tab ,
Please let me know if you have any idea ? and also what informationis required for investigate that issue .
Solid Works - 2007
Add-in - VB 2005 Solid Works Template
Cavity Browser - Dot net Control (VB 2005)
But VB6 (ocx) Cavity Browser is working fine , we want to loadVB2005 Cavity Browser Control .
Plz. Let me know as soon as possible .
I am adding also code (BrowserLoad sub) which I calling in VB2005(solid works 2007) Addin template
Private Sub BrowserLoad(ByVal oModel As SldWorks.ModelDoc2)
Const IconSmall As String = "C:\MDTools905_Browser_icon.bmp"
If oModel.GetType = SwConst.swDocumentTypes_e.swDocPART Then
oModelViewManager = oModel.ModelViewManager
Dim oFeatureManagerTab As SldWorks.FeatMgrView
Dim oCavityBrowser As VESTCavityBrowser910.CavityBrowser
oFeatureManagerTab =oModelViewManager.CreateFeatureMgrControl2(IconSmall,"VESTCavityBrowser910.CavityBrowse", "", "TDE top tooltip",SwConst.swFeatMgrPane_e.swFeatMgrPaneTop)
oCavityBrowser = oFeatureManagerTab.GetControl
oModel.FeatureManagerSplitterPosition = 0
oFeatureManagerTab.ActivateView()
End If
End Sub
In this line "oCavityBrowser = oFeatureManagerTab.GetControl"oCavityBrowser VB2005 user control showing nothing .
You plz. Confirm me that Solid Works 2007 addin (vb2005) is able toload the vb 2005 user control on the Feature Manager Design Tree .
Regards ,
Prasenjit ,
VEST , New
SolidworksApi macros
This is Prasenjit from VEST,New Delhi, India , I need Yoursuggestion regarding
SOLID WORKS 2007 , ADDIn ( VB-2005 , Dot net version) , usercontrol loading problem on Feature Manager Tab.
We created user control ( Cavity Browser Tree view ) in VB 2005 ,but when we call it through Solid works ADD-in , we wont be able toload Cavity Browser ( dot net ) control in the Solid Works FeatureManager Tab , How we can load the Cavity Browser Tree View controlin the Solid Works Feature Manager Tab ,
Please let me know if you have any idea ? and also what informationis required for investigate that issue .
Solid Works - 2007
Add-in - VB 2005 Solid Works Template
Cavity Browser - Dot net Control (VB 2005)
But VB6 (ocx) Cavity Browser is working fine , we want to loadVB2005 Cavity Browser Control .
Plz. Let me know as soon as possible .
I am adding also code (BrowserLoad sub) which I calling in VB2005(solid works 2007) Addin template
Private Sub BrowserLoad(ByVal oModel As SldWorks.ModelDoc2)
Const IconSmall As String = "C:\MDTools905_Browser_icon.bmp"
If oModel.GetType = SwConst.swDocumentTypes_e.swDocPART Then
oModelViewManager = oModel.ModelViewManager
Dim oFeatureManagerTab As SldWorks.FeatMgrView
Dim oCavityBrowser As VESTCavityBrowser910.CavityBrowser
oFeatureManagerTab =oModelViewManager.CreateFeatureMgrControl2(IconSmall,"VESTCavityBrowser910.CavityBrowse", "", "TDE top tooltip",SwConst.swFeatMgrPane_e.swFeatMgrPaneTop)
oCavityBrowser = oFeatureManagerTab.GetControl
oModel.FeatureManagerSplitterPosition = 0
oFeatureManagerTab.ActivateView()
End If
End Sub
In this line "oCavityBrowser = oFeatureManagerTab.GetControl"oCavityBrowser VB2005 user control showing nothing .
You plz. Confirm me that Solid Works 2007 addin (vb2005) is able toload the vb 2005 user control on the Feature Manager Design Tree .
Regards ,
Prasenjit ,
VEST , New
SolidworksApi macros