CADDrawMode.Black draws in "white"
Moderators: SDS, support, admin
-
- Posts: 2
- Joined: 26 Jun 2008, 10:21
CADDrawMode.Black draws in "white"
*** Applies to: cadimport.net ext v6.3 VB editor cadimport.dll ver. 6.3.2942.31653 ***
The following should draw the entities in black but instead draws it in white:
Me.cadImage1.DrawMode = CADImport.CADDrawMode.Black
Solution:
Cycle through the CAD layers and change each colour as follows:
The following should draw the entities in black but instead draws it in white:
Me.cadImage1.DrawMode = CADImport.CADDrawMode.Black
Solution:
Cycle through the CAD layers and change each colour as follows:
Code: Select all
' colourize the layers of the drawing
Dim cntLrs As Int16 = arrLayerNames.Count
Dim i As Int16
For i = 0 To cntLrs - 1
Me.cadImage1.SetLayerColor(i, Color.Black, False)
Next
Re: CADDrawMode.Black draws in "white"
Hello Peter,
Some times entities define their parameters like color, line weight etc. by a layer where they lay. In this case these parameters have a value equal to CADConst.clByLayer. Thus when they change respective layer's parameter, entities with CADConst.clByLayer take new state respectivly to the changes. Otherwise they stay unchanged.
Sergey.
Some times entities define their parameters like color, line weight etc. by a layer where they lay. In this case these parameters have a value equal to CADConst.clByLayer. Thus when they change respective layer's parameter, entities with CADConst.clByLayer take new state respectivly to the changes. Otherwise they stay unchanged.
Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support