libraryLocation()

概要

ライブラリの場所を返す、 design ライブラリ name string 、 または "スペック" を指定します。 ライブラリが見つからない場合は、 NoValue が戻されます。

構文

libraryLocation ( libspec As Any ) As Any 
引数 [タイプ] 説明
libspec Any name string 、 またはライブラリの仕様と design ライブラリです。

例 1

Intent >libraryLocation(:projectLib) 
--> "C:\Users\Public\Documents\Autodesk\Inventor ETO 2012\Inventor\Samples"

例 2

Intent >libraryLocation("projectLib") 
--> "C:\Users\Public\Documents\Autodesk\Inventor ETO 2012\Inventor\Samples"

例 3

Intent >libraryLocation(designLibrary(:basePart)) 
--> "C:\Program Files\Autodesk\Inventor ETO Components 2012\Library\Standard\baselib"

例 4

デザイン ライブラリが存在しないため 、Intent >libraryLocation(:unknownLib) 
--> NoValue 
libraryLocation () NoValue が返されます。