if drawing unit is setted to meter, after lines being drawn, their linetypes are setted to 'ACAD_ISO02W100', but their effects are not.
Also, if i want to set the entity's linetype by code, not by property editor, how cand do?
about linetype
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: about linetype
Line type patterns are always in mm. If you need larger patterns, you can adjust the document wide linetype scale factor (RDocument::setLinetypeScale).liguosheng wrote:if drawing unit is setted to meter, after lines being drawn, their linetypes are setted to 'ACAD_ISO02W100'
See:Also, if i want to set the entity's linetype by code, not by property editor, how cand do?
REntity::setLinetypeId
RDocument::getLinetypeId
-
- Active Member
- Posts: 33
- Joined: Thu Jan 14, 2016 4:17 am
Re: about linetype
Thanks andrew.
If an entity's linetype isn't continuous, only based on screen-based mode, its' effect is visible. However, its' lineweight isn't visible. that is to say, the effect of linetype and lineweight cannot be existed at the same time. is this true?
If an entity's linetype isn't continuous, only based on screen-based mode, its' effect is visible. However, its' lineweight isn't visible. that is to say, the effect of linetype and lineweight cannot be existed at the same time. is this true?
Re: about linetype
Not sure what you mean. Please provide files, screenshots, etc. to better document what you are trying to achieve and what the problem is, thanks.
-
- Active Member
- Posts: 33
- Joined: Thu Jan 14, 2016 4:17 am
Re: about linetype
I want to draw a dashed line, it has line that is two units (that is to say 2 mm) and space whic is one unit (that is to say 1 mm), those length are real when they are printed. If the scale of drawing is 1/500, how can i set linescale?
Re: about linetype
The drawing scale does not affect the linetype patterns. I.e. a dashed line with dashes of 2mm and gaps of 1mm always prints with dashes of 2mm and gaps of 1mm, regardless of the scale it is printed in. You can observe this in the print preview of QCAD.
-
- Active Member
- Posts: 33
- Joined: Thu Jan 14, 2016 4:17 am
Re: about linetype
Thanks andrew.
In AutoCAD, the effect of dashed lines can be seen by linescale. In QCAD, how about linetypeScale? when is used it?
In AutoCAD, the effect of dashed lines can be seen by linescale. In QCAD, how about linetypeScale? when is used it?
Re: about linetype
The global linetype scale is used for all lines.