Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru 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
Joined
Mar 2, 2005
Messages
1
Location
FR
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?


 
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

Back
Top