How to Create Draw Jig to Create Rectangle with two corner point, filled with hatch

How to Create Draw Jig to Create Rectangle with two corner point, filled with hatch

vkpunique
Advocate Advocate
417 Views
0 Replies
Message 1 of 1

How to Create Draw Jig to Create Rectangle with two corner point, filled with hatch

vkpunique
Advocate
Advocate

So i am trying to create rectangle with two corner points selected by user and also Filled with hatch. Doing this via regular code is very straight forward. I want to do this much more visually so user will be able to see rectangle with hatch generated using DrawJig.

 

As reference, i am using this (AutoCAD .NET: Use DrawJig To Drag and Create Rectangles - AcadNetAddinWizard & More (typepad.com)) as base code, which is working fine for rectangle but I don't know how to implement hatch with this code. I can add hatch in end when jig ended but user won't be able to see hatch patter or color of hatch this way.

 

If anyone can give me solution for this or guide me in proper direction then it will be great help for me. as basics i already know how to use entity and draw jigs. But never done jig with hatch before. I don't even know if this is possible.

0 Likes
418 Views
0 Replies
Replies (0)