Login  Register

Re: Re: How could I fetch the block and entity information ?

Posted by Johnson on Dec 20, 2012; 11:53am
URL: https://forum.librecad.org/How-could-I-fetch-the-block-and-entity-information-tp5707314p5707316.html

Hi Rallaz
 
Would you take a look at this dxf ?
 
it contains :
1. several blocks (which composed by a text and a rect )
2. several line which connect different blocks.
 
I want to change the color of each blocks or lines as I wanted by programming.  I will use block name such as "159-124...." to find the block. is it reasonable ? then change the color of the blocks(actually it's just a entity container , I might change the color of the four line and a text together. do you know how to change the color of block rather than change the color of each individual )
 
another question is that
if the colors of rect is changed , the near line color will be changed. do you know how to check whether the line touch the rect or not ?
 
Thanks.  
 

wingame82
 
From: [hidden email]
Date: 2012-12-20 19:24
To: [hidden email]
Subject: Re: How could I fetch the block and entity information ?
First, read my comment:
http://forum.librecad.org/Block-can-not-be-inserted-on-different-layers-td5544026.html#a5544807

If you want to write a plugin, you can modify a bit "list plugin" and you have what you need.


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/How-could-I-fetch-the-block-and-entity-information-tp5707314p5707315.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from How could I fetch the block and entity information ?, click here.
NAML

=?gb2312?B?Qc/gsuLK1MH3s8zNvC5keGY=?= (22K) Download Attachment