「Tingr:get-slope」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Tingr:set-slope ''grading'' ) ; 機能 : グレーディング TinGrading エンティティが使用する勾配値を取得する。 ; 引数 :* grading : TinGrading のエンティティ名(ename または vla-object)。 ; 戻り値 : グレーディングの勾配値、または nil === MEMO === * 勾配側は、勾配ルール tingr:setsloperule に基づくグレーディング・エンティティーにのみ…」)
 
(相違点なし)

2023年7月23日 (日) 13:07時点における最新版

構文
(Tingr:set-slope grading )


機能
グレーディング TinGrading エンティティが使用する勾配値を取得する。


引数
  • grading : TinGrading のエンティティ名(ename または vla-object)。


戻り値
グレーディングの勾配値、または nil


MEMO

  • 勾配側は、勾配ルール tingr:setsloperule に基づくグレーディング・エンティティーにのみ適用される
  • 勾配側面については ETinSlopeFormat を参照。


サンプル
(vl-load-tin)
(setq gr (car (entsel)))
(tingr:get-slopeside gr)
0
(tingr:set-slopeside gr 1)
T
(tingr:get-slopeside gr)
1

(tingr:get-slopeside (car (entsel))) ; グレーディングでない図形を選択した場合
nil



関連事項