• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Vba API > Visual Basic Reference > Reference Guide > Properties > Lineweight Property 

Lineweight Property

Lineweight Property

Lineweight property

Sets or returns the lineweight constant of an entity or Group object. If you don't specify a lineweight, the current lineweight is used for a new entity. If a lineweight is specified for an entity, the current lineweight is ignored.

Syntax

integerVariable = object.Lineweight

object.Lineweight = <constant>

Where:

     integerVariable is a variable that defines the lineweight constant value.

     object is the applicable entity or Group object.

     constant is the value that specifies the object lineweight.

 

Lineweight Constant

Index Value

vicLnWtByLwDefault

-3
vicLnWtByBlock -2
vicLnWtByLayer -1
vicLnWt000 0
vicLnWt005 5
vicLnWt009 9
vicLnWt013 13
vicLnWt015 15

vicLnWt018

18
vicLnWt020 20
vicLnWt025 25
vicLnWt030 30
vicLnWt035 35

vicLnWt040

40
vicLnWt050 50
vicLnWt053 53
vicLnWt060 60
vicLnWt070 70
vicLnWt080 80
vicLnWt090 90
vicLnWt100 100
vicLnWt106 106
vicLnWt120

120

vicLnWt140

140

vicLnWt158 158
vicLnWt200 200
vicLnWt211 211
 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.