AutoCAD Architecture Customization
Welcome to Autodesk’s AutoCAD Architecture Customization Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom LineWeigth VBA

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
264 Views, 4 Replies

Custom LineWeigth VBA

Is it possible to customize lineweigths through code.

I'm using ADT2 and prefer VBAcode to work with for this because dialogs are
easier
Its sort of the "edit lineweigths" > "edit lineweigth"-button in the
"Plotstyle table editor"-dialog i want to reach through code.

If possible i know that the plotstyletable would update to the new
lineweigths and i wouldnt need several tables for different plotscales
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

and by the way im no expert at this but if someone gave me a clue at where
to start (if its possible..) i could probably hackit out in a few months
time...

HD skrev i
meldingsnyheter:F96F5D2A4D5704013964199BEB19446A@in.WebX.maYIadrTaRb...
> Is it possible to customize lineweigths through code.
>
> I'm using ADT2 and prefer VBAcode to work with for this because dialogs
are
> easier
> Its sort of the "edit lineweigths" > "edit lineweigth"-button in the
> "Plotstyle table editor"-dialog i want to reach through code.
>
> If possible i know that the plotstyletable would update to the new
> lineweigths and i wouldnt need several tables for different plotscales
>
>
>
>
>
>
>
Message 3 of 5
Anonymous
in reply to: Anonymous

anyone?
Peter , Mark ...

HD skrev i
meldingsnyheter:B18E0CD70A581A473800808C4A9AB5B0@in.WebX.maYIadrTaRb...
> and by the way im no expert at this but if someone gave me a clue at where
> to start (if its possible..) i could probably hackit out in a few months
> time...
>
> HD skrev i
> meldingsnyheter:F96F5D2A4D5704013964199BEB19446A@in.WebX.maYIadrTaRb...
> > Is it possible to customize lineweigths through code.
> >
> > I'm using ADT2 and prefer VBAcode to work with for this because dialogs
> are
> > easier
> > Its sort of the "edit lineweigths" > "edit lineweigth"-button in the
> > "Plotstyle table editor"-dialog i want to reach through code.
> >
> > If possible i know that the plotstyletable would update to the new
> > lineweigths and i wouldnt need several tables for different plotscales
> >
> >
> >
> >
> >
> >
> >
>
>
Message 4 of 5
Anonymous
in reply to: Anonymous

Do you want to change the Linewidth of a particular layer in a dwg or are
you talking about the plotstyle line width?

--
-------------------------------------------------------------------------
Rob Starz
Plogv 3.0 & 2000 (plot logging) for r14 & 2000
***Enhancement Tools for Arch. Desktop *****
!!!!!Beta Testers Needed For DormerX!!!!!!!
http://www.stardsign.com/DormerXForm.htm
http://www.stardsign.com/main.htm
Message 5 of 5
Anonymous
in reply to: Anonymous

That would be the lineweights within the plotstyle-table
If i open the table in "Plotstyle table editor" i can edit the default
lineweigths within that table by going to the "edit lineweigths" -button and
then the "edit lineweigth"-button.
Then if i change the initial value of a lineweigth it is updated throughout
the plotstyles in that table, eg adjusting them to different plotscales. If
I could do that through code by selecting 1:50 or 1:100 on a
"BeginPlot-event" i wouldnt need different tables for different
plotscales,just the one.

Håvard Dagsvik

ps i tried posting this at autodesk.autocad.customization with no response
so thats why its here although its not entirely an ADT-thing. Hope thats ok.


Rob Starz skrev i
meldingsnyheter:C5F1DD45411E6CAFDB92590F852D907E@in.WebX.maYIadrTaRb...
> Do you want to change the Linewidth of a particular layer in a dwg or are
> you talking about the plotstyle line width?
>
> --
> -------------------------------------------------------------------------
> Rob Starz
> Plogv 3.0 & 2000 (plot logging) for r14 & 2000
> ***Enhancement Tools for Arch. Desktop *****
> !!!!!Beta Testers Needed For DormerX!!!!!!!
> http://www.stardsign.com/DormerXForm.htm
> http://www.stardsign.com/main.htm
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost