自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

转载 C#文件操作

1.创建文件夹//using System.IO;Directory.CreateDirectory(%%1);2.创建文件//using System.IO;File.Create(%%1);3.删除文件//using System.IO;File.Delete(%%1);4.删除文件夹//using System.IO;Directory.Delete(%%1);

2013-12-20 12:47:14 3015

转载 C#读取ini文件

[DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val, string filePa

2013-12-20 12:40:52 743

转载 标注样式:创建、修改和置为当前

原文:DIMSTYLES : Creating, Modifying and Setting CurrentOK.  This is not so much a cry for help as a post that might help someone else. I was trying to find concise code that would let me create a

2013-12-08 00:45:20 4664

翻译 转自AutoCAD .NET 开发人员手册——Dimension各参数含义

Each dimension has the capability of overriding the settings assigned to it by a dimension style. The following properties are available for most dimension objects:DimatfitSpecifies the disp

2013-12-08 00:15:29 5734

翻译 创建新的标注样式并设为当前标注样式

原文:Creating a new dimension style and make it as current[CommandMethod("NewDimStyle")] public void NewDimStyle() { Database db = Application.DocumentManager.MdiActiveDocument.Databas

2013-12-07 23:45:26 2936

翻译 用.NET创建并且覆盖AutoCAD的标注样式

原文:Creating and overriding AutoCAD dimension styles using .NET上周末有一封电子邮件发来了一份请求::我一直在寻找一种创建标注样式重定义的方法,但一直没有真的没有成功。我写了一个程序,在程序中我创建了几个标注样式,但是总是会丢失标注的重定义。这似乎是一个很好的重定义话题,所以这篇文章包含一些简单的代码,创建一个样式和两个几

2013-12-07 13:26:55 3427

翻译 Zoom Extents in .Net

Zoom Extents in .NetPublished date: 2010-03-10 ID: nullApplies to: AutoCAD® 2011AutoCAD® 2010AutoCAD® 2009AutoCAD® 2008IssueDo you have any .Net sample code that illust

2013-12-06 17:04:33 2480

转载 [转]推荐net开发cad入门阅读代码片段

原文:http://www.cnblogs.com/cadlife/articles/2668158.htmlusing System;using System.Collections.Generic;using System.Text;using Autodesk.AutoCAD.EditorInput ;using Autodesk.AutoCAD.Runtime ;using

2013-12-06 16:40:14 1575

转载 [转]acedSSGet()函数用法详解

原文在此:http://www.cnblogs.com/wf225/archive/2010/01/12/1644724.html大多数ObjectARX函数在处理选择集和实体时,都用名字来识别选择集或实体,该名字用一个长整型对来表示的,并对AutoCAD来维护。在ObjectARX中,该名字的类型为ads_name。在对选择集或实体进行操作之前,ObjectARX应用程序必须通过

2013-12-06 12:48:44 7711

翻译 用未公开的函数acedSetDynInputDisplayMessage来实现动态显示

原文见:http://forums.autodesk.com/t5/NET/Dynamic-Input/td-p/1339772目前AutoCAD未公开实现Dynamic Input的API,要实现和AutoCAD同样的效果,可以使用一个未公开的函数acedSetDynInputDisplayMessage以下是C#代码:using System;using System.Text;

2013-12-04 00:30:14 1094

翻译 用.NET的面板来显示多个AutoCAD实体的属性

原文:Using a palette from .NET to display properties of multiple AutoCAD objects本文仅翻译部分内容在这篇文章中我们将换掉这一系列中已经在前几篇文章中使用的无模式对话框,然后用一个AutoCAD内置的palette类(Autodesk.AutoCAD.Windows.PaletteSet).的例子来替换它。首

2013-12-04 00:10:40 6748

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除