partDesign()

Synopsis

Returns the name of the Design that part is an instance of. Compare to isKindOf?().

Syntax

partDesign ( part As Part ) As Name 
Argument Type Description
part Part The part for which the Design name is desired.

Example 1

Intent >partDesign(root) 
--> :Assembly1 

Example 2

Intent >partDesign(root.parent) 
--> :%%project