08.09.18
来源:互联网 发布:tensorflow实战 pdf 编辑:程序博客网 时间:2024/04/29 15:06
1.dynamic drag function:
int acedGrRead(
int track
int *type
struct resbuf* result );
This function can help you to drag an entity dynamically.It gives you the present cursor's coordinate.
You should make the aboved mentioned parameters in your heart.
2.acedEntSel("Prompt",en,pt)------------chosing function
When chosing an entity ,you have to cite the function.
MouseClick->pt->en (ads_name)
en->Id :acdbGetObjectId(Id,en);
Id->pEnt: acdbOpenAcDbEntity(pEnt,Id,Read);
pEnt->pArc: AcDbArc::cast(pEnt);
3.Noticing sentence
acedPrompt(" **** ");
acutPrintf(" *** ");
4.Array is different from a[];
The different way of citing them:
Array[X],Array[Y],Array[Z] (X,Y,Z are all capital letters)
a[].x,a[].y,a[].z , (x,y,z are all small letters)
How can I alter the format of array to be a[]?
asPnt3d() Array->a[];
5.Find out an entity in a record or not
has("**") may help you.
How can I get **'s Id ?
getAt("**",Id) can give the Id of **.
6.BLOCKTABLE---->BLOCKTABLERECORD--->***Itrator
ptBlockTable->ptBlockTableRecord(pBr)->ptBlockTableRecordIterator(pItr)
for(pItr->start();!pItr->done();pItr->step())
7.x=strcmp(1,2)
1<2,x<0
1=2,x=0
1>2,x>0
8.The Iterator you built should be deleted after you finished editing.
as:
delete pItr;
- 08.09.18
- 08.09,11
- 08.09.12
- 08.09.15
- 08.09.17
- 08.09.20
- 08.09.21
- 08.09.22
- 08.09.23
- 08.09.24
- 08.09.25
- 08.09.26
- 08.09.08 some characters
- 第10天(08.09)
- CuteFTP Pro ver.8.0.08.09.2006.1
- 18
- 18
- 18
- perl对中文的处理(encode,decode)
- DataStage(ETL)技术总结 -- 介绍篇
- 两段代码异同分析
- debian下配置双核cpu
- SQL语句优化
- 08.09.18
- 在XHTML文档中合适的使用CSS和JavaScript
- 用不同的宏定义生成不同的目标程序
- DATASTAGE——关于数据分区的概述
- PKU 3368 Frequent values
- DATASTAGE——Hashed file stage使用
- DATASTAGE——一DATASTAGE经验积累
- DATASTAGE——Surrogate Key Stage用法
- SetWindowPos函数