Start a new topic

Number of Sheets in an Inventor Drawing

Using powervault/powerjobs in a PS1 file can we get to the Drawing Property - "Number of Sheets"


Thanks!

Kim Hendrix

1 Comment

Hello Kim,

I am not aware of a "Number of Sheets" property, but you can get the sheet number via Inventor API. In order for that to work you first have to open the drawing in Inventor.


Example:

...

$openResult = Open-Document -LocalFile $file.LocalPath -Options @{ FastOpen = $fastOpen }

 

if($openResult) {

 $Document = $openResult.Document.Instance

 $numberOfSheets = $Document.Sheets.Count

 $closeResult = Close-Document

}

...


Best regards,

Thomas

Login or Signup to post a comment