.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

plotting layout

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
550 Views, 3 Replies

plotting layout

Hi all,
Extracted the following from the ACAD.NET DEVELOPER GUIDE:-

'' Set the plot type
acPlSetVdr.SetPlotType(acPlSet, _
Autodesk.AutoCAD.DatabaseServices.PlotType.Extents)

'' Set the plot scale
acPlSetVdr.SetUseStandardScale(acPlSet, True)
acPlSetVdr.SetStdScaleType(acPlSet, StdScaleType.ScaleToFit)

'' Center the plot
acPlSetVdr.SetPlotCentered(acPlSet, True)

'' Set the plot device to use
acPlSetVdr.SetPlotConfigurationName(acPlSet, "DWF6 ePlot.pc3", _
"ANSI_A_(8.50_x_11.00_Inches)")


The PlotType selected is by ., I changed the PlotType to but couldn't
get how the set the command/syntax for the plot scale. Thanks and really appreciate
in your help and sharing.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

Sorry, some text missing, it should be

Hi all,
Extracted the following from the ACAD.NET DEVELOPER GUIDE:-

'' Set the plot type
acPlSetVdr.SetPlotType(acPlSet, _
Autodesk.AutoCAD.DatabaseServices.PlotType.Extents)

'' Set the plot scale
acPlSetVdr.SetUseStandardScale(acPlSet, True)
acPlSetVdr.SetStdScaleType(acPlSet, StdScaleType.ScaleToFit)

'' Center the plot
acPlSetVdr.SetPlotCentered(acPlSet, True)

'' Set the plot device to use
acPlSetVdr.SetPlotConfigurationName(acPlSet, "DWF6 ePlot.pc3", _
"ANSI_A_(8.50_x_11.00_Inches)")


The PlotType selected is by Extents, I changed the PlotType to Layout but couldn't
get how the set the command/syntax for the plot scale. Thanks and really appreciate
in your help and sharing.
Message 3 of 4
Anonymous
in reply to: Anonymous

I think I get what your asking. I recently went about figuring out plotting scales since I wanted to make a 1/2 scale for my drawing
According to your syntax/variables:
{code}
// a 1 inch: 2 units scale
acPlSetVdr.SetStdScale(acPlSet, 0.5);

// a 2 inches: 1 unit scale
acPlSetVdr.SetStdScale(acPlSet, 2);
{code}

Hope that helps.
Message 4 of 4
Anonymous
in reply to: Anonymous

Tks. Jordan.
After setting the scale and using extend option (most of the previous messages on plotting uses the extend option),
the hardcopy printed out is slightly enlarged. Is there a way to print out the exact scale just like using manual printing.
Tks.

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

Post to forums  

Forma Design Contest


Autodesk Design & Make Report