0 Members and 1 Guest are viewing this topic.
You can play with this too:Code: [Select](setq ValuesList (list "ST00" "CONTINUOUS" 8 "60" "Layer Description ST00"))(mapcar '(lambda (prop value) (vlax-put-property obj prop value)) (list 'linetype 'color 'lineweight 'description) (cdr ValuesList) )
(setq ValuesList (list "ST00" "CONTINUOUS" 8 "60" "Layer Description ST00"))(mapcar '(lambda (prop value) (vlax-put-property obj prop value)) (list 'linetype 'color 'lineweight 'description) (cdr ValuesList) )
Quote from: KewlToyZ on June 25, 2008, 06:28:40 PMQuoteIf you use the vlide and inspect the Vla-Object, you'll see all the other goodies....trying to find the vla-put- for (plot / no plot)vla-put-plottable wasn't it,; error: ActiveX Server returned an error: Parameter not optionaltried plot and noplotSifting through help files right now too.Mainly I wanted to access every varation possible for the new layer management systems including noplot & reconcile as well.(vla-put-plottable layer :vlax-true or :vlax-false)
QuoteIf you use the vlide and inspect the Vla-Object, you'll see all the other goodies....trying to find the vla-put- for (plot / no plot)vla-put-plottable wasn't it,; error: ActiveX Server returned an error: Parameter not optionaltried plot and noplotSifting through help files right now too.Mainly I wanted to access every varation possible for the new layer management systems including noplot & reconcile as well.
If you use the vlide and inspect the Vla-Object, you'll see all the other goodies.
Command: (vlax-dump-object(vlax-ename->vla-object (tblobjname "layer" "0"))T); IAcadLayer: A logical grouping of data, similar to transparent acetate overlays on a drawing; Property values:; Application (RO) = #<VLA-OBJECT IAcadApplication 00cbef78>; Description = ""; Document (RO) = #<VLA-OBJECT IAcadDocument 0158f5d0>; Freeze = 0; Handle (RO) = "10"; HasExtensionDictionary (RO) = -1; LayerOn = -1; Linetype = "Continuous"; Lineweight = -3; Lock = 0; Material = "Global"; Name = "0"; ObjectID (RO) = 2129665152; ObjectName (RO) = "AcDbLayerTableRecord"; OwnerID (RO) = 2129665040; PlotStyleName = "Color_7"; Plottable = -1; TrueColor = #<VLA-OBJECT IAcadAcCmColor 0cc17440>; Used (RO) = -1; ViewportDefault = 0; Methods supported:; Delete (); GetExtensionDictionary (); GetXData (3); SetXData (2)T