VSTA - selMgr.GetSelectedObjectCount2
VSTA - selMgr.GetSelectedObjectCount2
(OP)
Hello all, i'm fumbling my way through a VSTA book at the moment and i'm having trouble using
selMgr.GetSelectedObjectCount2
selMgr.GetSelectedObject6
and
selMgr.GetSelectedObjectType3
i don't know entirely what i'm doing in visual basic, but i suspect i need to add another line of code where i have
Imports SolidWorks.Interop.sldworks
Imports SolidWorks.Interop.swconst
Imports System.Windows.Forms
as the statement completion is not "finding" GetSelectedObject etc when i start typing it
can anyone help or am i just so out of my depth that none of this makes sense to anyone?
selMgr.GetSelectedObjectCount2
selMgr.GetSelectedObject6
and
selMgr.GetSelectedObjectType3
i don't know entirely what i'm doing in visual basic, but i suspect i need to add another line of code where i have
Imports SolidWorks.Interop.sldworks
Imports SolidWorks.Interop.swconst
Imports System.Windows.Forms
as the statement completion is not "finding" GetSelectedObject etc when i start typing it
can anyone help or am i just so out of my depth that none of this makes sense to anyone?






RE: VSTA - selMgr.GetSelectedObjectCount2
Dim selMgr As ISelectionMgr = Model.SelectionManager