How to draw shapes using Cadlib library?
Sachin Tripathi
11/26/2019 9:54 AM
|
---|
Hi,
I wanted to draw multiple solid shapes(attached) with text in the middle in the DWG file.
Is there any way to achieve this?
DxfHatch is something I found while exploring. Please suggest the right way to do it.
|
Wout
11/26/2019 12:21 PM
|
---|
Hi,
Yes, you would need to use the DxfHatch entity. See the documentation for more details and examples.
- Wout
|
Sachin Tripathi
11/28/2019 9:04 AM
|
---|
Hi Wout,
I can draw a Rectangle, Triangle, Hexagon, Circle but unable to draw Terminator or Delay shape(attached). Can you please share some snippet that can help me out.
Thanks,
Sachin
|
Wout
11/28/2019 12:02 PM
|
---|
Attachment is not there.
|
Sachin Tripathi
11/28/2019 12:09 PM
|
---|
Please find the attachment.
|
Wout
11/28/2019 12:17 PM
|
---|
You can put together a series of Line and Arc/Spline edges to create them. If you need me to write sample code, you'll have to order a support ticket for that (you can order here).
- Wout
|
Sachin Tripathi
11/29/2019 5:35 AM
|
---|
Hi Wout,
I tried as suggested but shapes are not coming properly. Can you please suggest to me what I'm doing wrong here.
C# Code: public static void DrawTerminator( |
Wout
11/29/2019 12:27 PM
|
---|
Hi,
If you need me to write code for you or debug your code you'll have to order a support ticket.
- Wout
|