Community Search
Didn't find what you're looking for?
Ask the community.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
8 results
Sorted by:
Hello Forum, Currently we use (load) a .NET DLL into AutoCAD 2019, that was originally created for AutoCAD 2016. Does any one know if you can also use this DLL in AutoCAD 2022?  ...
...ommandMethod("CMD12", CommandFlags.Session)]
public void Cmd12()
{
var doc = OpenDrawing(fileForOpen1);
doc.SendStringToExecute("._circle 2,2,0 4 ", true, false, f...
I use the following code: editor.WriteMessage($"\nType: {ent.GetType().FullName}"); just return: Type: Autodesk.AutoCAD.DatabaseServices.BlockReference I'm trying to get the speci...
Create a new layout and use the following code to select the viewport in the layout. [CommandMethod("SelectViewports")]
public static void SelectViewports()
{
v...
How to change current page setup use .NET? e.g. change plot style. Thanks.
Labels:
- Categories:
-
pagesetup
....DatabaseServices;
using Autodesk.AutoCAD.Geometry;
[CommandMethod("CopyObjectsBetweenDatabases", CommandFlags.Session)]
public static void CopyObjectsBetweenDatabases()
{
ObjectIdCollection acObjIdColl = n...
Labels:
- Categories:
-
.net
...roblem? acText.HorizontalMode = TextHorizontalMode.TextMid acText.VerticalMode = TextVerticalMode.TextVerticalMid acText.AlignmentPoint = BasePt draw.Geometry.Draw(acText) Return True End Function
- Tags:
- Text jig
'I used about three methods are still not solve the problem. Dim p As New Autodesk.AutoCAD.Windows.PlotStyleDialog() '1. p.ShowDialog() '2. p.PlotStyle = "acad.ctb" p.ShowDialog() '3. p...
- Tags:
- PlotStyleDialog