C# 클래스 BuildingCoder.CmdDimensionWallsIterateFaces

상속: IExternalCommand
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples 1 사용 예제들

공개 메소드들

메소드 설명
CreateDimensionElement ( View view, XYZ p1, System.Reference r1, XYZ p2, System.Reference r2 ) : void

Create a new dimension element using the given references and dimension line end points. This method opens and commits its own transaction, assuming that no transaction is open yet and manual transaction mode is being used. Note that this has only been tested so far using references to surfaces on planar walls in a plan view.

CreateLinearDimension ( Document doc ) : Dimension
DuplicateDimension ( Document doc, Dimension dimension ) : void
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

비공개 메소드들

메소드 설명
GetClosestFace ( Element e, XYZ p, XYZ normal, Options opt ) : Face

Return the closest planar face to a given point p on the element e with a given normal vector.

메소드 상세

CreateDimensionElement() 공개 정적인 메소드

Create a new dimension element using the given references and dimension line end points. This method opens and commits its own transaction, assuming that no transaction is open yet and manual transaction mode is being used. Note that this has only been tested so far using references to surfaces on planar walls in a plan view.
public static CreateDimensionElement ( View view, XYZ p1, System.Reference r1, XYZ p2, System.Reference r2 ) : void
view View
p1 XYZ
r1 System.Reference
p2 XYZ
r2 System.Reference
리턴 void

CreateLinearDimension() 공개 메소드

public CreateLinearDimension ( Document doc ) : Dimension
doc Document
리턴 Dimension

DuplicateDimension() 공개 메소드

public DuplicateDimension ( Document doc, Dimension dimension ) : void
doc Document
dimension Dimension
리턴 void

Execute() 공개 메소드

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
리턴 System.Result