Message 1 of 12
MCAD Pick error
Not applicable
01-09-2001
04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I use the following code in Mechanical Desktop
5:
5:
size=2>'===============================================
Dim mapp As
McadApplication
Dim util As
McadUtility
Set mapp =
ThisDrawing.Application.GetInterfaceObject("Mcad.Application")
Set util = mapp.ActiveDocument.Utility
Dim Pick As McadPick
Set Pick =
util.Pick("Select feature", mcFeature)
McadApplication
Dim util As
McadUtility
Set mapp =
ThisDrawing.Application.GetInterfaceObject("Mcad.Application")
Set util = mapp.ActiveDocument.Utility
Dim Pick As McadPick
Set Pick =
util.Pick("Select feature", mcFeature)
size=2>'================================================
On the the last line I get the following error
msg.
msg.
Generic failure to execute operation with provided
arguments.
The references are set to the appropriate Mcad
objects and on whatever machine I try this it give me the same
message.
objects and on whatever machine I try this it give me the same
message.
Does anybody know what the problem is?
Wouter