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

Jig to Insert Block Modify Properties then Drag or Rotate

1 REPLY 1
SOLVED
Reply
Message 1 of 2
SRSDS
582 Views, 1 Reply

Jig to Insert Block Modify Properties then Drag or Rotate

I've spent hours on this and stumped. Hope someone can help.

 

I've tried

 Inserting the block and changing the properties before a jig.

Changing properties within a jig displays the right block but not the right grips

Changing properties during  and after the jig. 

 

Either the block is drawn correctly with incorrect grip points or the other way around. 

 

The best example I have found is here but doesn't deal with modifying block properties.

 

 

 There was a bug in the posted code.  The Else stopped the rotation jig from starting.

                   If vRotationUse = True Then
                        Else
                            ' Start a new Jig for the rotation..
                            jig.JigPromptCounter = 1
                            res = ed.Drag(jig)
                        End If

 

Baffled.

1 REPLY 1
Message 2 of 2
SRSDS
in reply to: SRSDS

I think I found an answer here. Seems like a sensible workaround.

http://forums.autodesk.com/t5/NET/Dynamic-Block-Properties-Stop-Working-After-NET-Edited/td-p/248902...

 

After the jig I need to delete the block reference, create a new one using  the position and angle returned from the jig and then set the parameter values. 

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