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
Date: 2012-12-20 19:24
Subject: Re: How could I fetch the block and entity information
?