Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

help please 2 simples questions

Status
Not open for further replies.

smexou

Civil/Environmental
Mar 2, 2005
1
1)how do i do if i want to select an object from my object librairies(like a chair,toilet) from vba or vb.?
2)how can i know the coords of it when put on the model?


 
Replies continue below

Recommended for you

1. Use the InsertBlock method (if I understand you correctly)
2. You define the coordinates for the block placement (ie dInsPt) as shown below.

Set acBlkRef = ThisDrawing.ModelSpace.InsertBlock(dInsPt, _
strBlkName, dblScale, dblScale, dblScale, 0)

"Everybody is ignorant, only on different subjects." — Will Rogers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor