高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】aci with more than 8 bits
aci with more than 8 bits
aci with more than 8 bits
hi
i'm having problems converting from aci to rgb. i thought that the aci only could vary between 1-255 but i get values much higher than this when reading some dwg:s a customer sent to us. can someone please explain what this means and i would be very thankful.
which one function do you use to get aci?
sincerely yours,
george udov
quote:
originally posted by george udov
which one function do you use to get aci?
i'm sorry, i'm quite new at this and i'm writing code on top of an already finished datatransfer layer that has been written already. but just tell me if there is a possibility for the index to have values greater than 255. it is stored as a word so i guess there must be?
aci may have 2 special values: 0 - byblock and 256 - bylayer. if entities color is byblock and entity is inside a block oddbblockreference entity color is used.
if entity's color is bylayer, entity's layer color is used.
sergey slezkin
|