Always White color
Moderators: SDS, support, admin
Always White color
Hello.
Everything seems to be working fine, except I always get the color white it doesn't matter what kind of object i use.
I used all of the color option from the cadobjects and tried it in cadimporter.net 6.3 and 7.0 beta.
Can you help me?
Everything seems to be working fine, except I always get the color white it doesn't matter what kind of object i use.
I used all of the color option from the cadobjects and tried it in cadimporter.net 6.3 and 7.0 beta.
Can you help me?
Re: Always White color
Hello.
You can set color of any entity in "View -> Options" menu or in the "Properties" window of a demo.
Alexander.
You can set color of any entity in "View -> Options" menu or in the "Properties" window of a demo.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Always White color
Hello,
Sorry for the misunderstanding. I made my own demo application to look if everything that i want can be done with this Cadimporter.NET.
I have some Autocad Drawings that i want to convert to mapinfo MIF files and I want to use the normal colors that are in the autocad DWG file.
The problem is for example CADText.color.name gives back white all the time and they are not white in my DWG file.
Thank you and regards,
Raoul
Sorry for the misunderstanding. I made my own demo application to look if everything that i want can be done with this Cadimporter.NET.
I have some Autocad Drawings that i want to convert to mapinfo MIF files and I want to use the normal colors that are in the autocad DWG file.
The problem is for example CADText.color.name gives back white all the time and they are not white in my DWG file.
Thank you and regards,
Raoul
Re: Always White color
Hello.
If you using such code:
Also pay attention to texts, because they can be CADText and CADMText objects. You need to call corresponding property.
Alexander.
If you using such code:
then that is a problem. Please call color property like this:Raoulvg wrote: ... CADText.color.name ...
Code: Select all
CADText_object_name.Color
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: Always White color
Thank you for your help and fast replies.
I solved the problem to add the following code in my cadentity I saw it in one of the demo project.
I solved the problem to add the following code in my cadentity I saw it in one of the demo project.
Code: Select all
Dim cl As Color = CADConst.EntColor(ent, cadParams.insert)
Re: Always White color
Thank you for forum participation. If you have more questions, we will be glad to help.
Alexander.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support