×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

checkinterference in VB

checkinterference in VB

checkinterference in VB

(OP)
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.

RE: checkinterference in VB

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

RE: checkinterference in VB

(OP)
Pellaken,

thanks for your answer.

Baat.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources