Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem in using a Mating Assembly Macro

Status
Not open for further replies.

farzadtb

Mechanical
Dec 1, 2009
38
Hi all Again

Sorry for asking the 2nd question right away

I was using this post to do some matings in Assembley , but whether I open a part or assembly I get a run time error 91 : Object variable or with block variable not set

I don't know in which line the set is not compatible with my assy, but I have chosen one of the components first ,only that I opened as Assembly that the parts already have a mating

is this a problem ?
 
Replies continue below

Recommended for you

Please be kind and help me on this , Thank you so much
 
When the error occurs, hit "Debug" and post a screenshot showing which line is highlighted in yellow.

-handleman, CSWP (The new, easy test)
 
Thank you very much

it's this line always :

bRet = NewObjToSelect.Select(True): Debug.Assert bRet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor