how to get the objectid of a line in a blockreference by mouse select?
anybody done this? please give me some code. thanks.
Solved! Go to Solution.
Dim myDoc As Document = Application.DocumentManager.MdiActiveDocument Dim myEd As Editor = myDoc.Editor Dim myPEO As New PromptNestedEntityOptions("Select line in block:") Dim myPER As PromptNestedEntityResult = myEd.GetNestedEntity(myPEO ) myPER .ObjectId
This should return the object ID of the entity selected.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register