.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jig selectionset of block attributes

0 REPLIES 0
Reply
Message 1 of 1
MarkPendergraft
260 Views, 0 Replies

Jig selectionset of block attributes

I'm having trouble jigging a selection set of attributereferences from a block.  I have attached a test project with the essential code in it.  The user is prompted to select blocks, then I iterate through each block and obtain the attributereferences associated with it and add them to a list.  Then I create a selectionset of the attributereferences and pass that to the Editor.drag function.  Nothing happens, the code executes over the editor.drag function with no errors (but does not start the drag) and continues on.

 

If I replace the attribute selectionset with the initial block selectionset, the jig works perfectly.

 

Line 57:

 Dim pDragOpts As New PromptDragOptions(AttSS, "Select Displacement Point: ", New DragCallback(AddressOf temp))

 If AttSS is replaced with pSelRes.Value the code works for the block.

 

Can anyone explain why this doesn't work?  Is there something I'm missing, or do I need to create temporary entities from the attributereferences to jig?

 

Thanks

-Mark

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost