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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

checkinterference in VB 1

Status
Not open for further replies.

Baat

Mechanical
Joined
Sep 23, 2005
Messages
2
Location
NL
Hi,

can anyone tell me how I can correctly call checkinterference.

I'm trying:
Set objDoc = objApp.ActiveDocument
Set objParts = objDoc.Parts
Set Set1(1) = objParts.Item(1)
Call objDoc.CheckInterference(1, Set1(1),.....

SE replies with:
wrong type, array of objects or user defined type required
It's refering to the last Set1(1) in my listing

Thanks,
Ronald.
 
Try using the variant without the index. Most SE API's want it as a list so it may hold many items.

Call objDoc.CheckInterference(1, Set1,.....

Ken
 
Pellaken,

thanks for your answer.

Baat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top