Posts: 375
Registered: ‎06-27-2005
Message 1 of 1 (118 Views)

Jig selectionset of block attributes

118 Views, 0 Replies
06-07-2011 12:59 PM

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?





Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.