Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Sep 23, 2005
2
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.
 
Replies continue below

Recommended for you

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