Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Adding Acadentity to a selectionset

Status
Not open for further replies.

Sarnath

Mechanical
Apr 2, 2003
14
Hi,
I am creating an entity in VBA and want to add the same to a selection set. How do i do it.
Dim newline as Acadentity
Set newLine = ThisDrawing.ModelSpace.AddLine(startpoint, EndPoint)
' now i want to add this to a selection set
Additems is used to add a selection set to another so how can i add this item to a selection set.

Could someone help me in this regard.
 
Replies continue below

Recommended for you

Seems to me that you should have posted this in your CAD software's forum.

TTFN
faq731-376
7ofakss

Need help writing a question or understanding a reply? forum1529


Of course I can. I can do anything. I can do absolutely anything. I'm an expert!
There is a homework forum hosted by engineering.com:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor