Returns the project of which the document is part.
![]() |
---|
DlxDocument.GetProject() |
Return Value
Returns the object corresponding to the parent project. Call the IsValid() method to determine if the object is valid.
Example
![]() |
|
---|---|
var doc = DlxApp.GetJob().FindDocument("Examples Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.GetProject().IsValid())
{
DlxApp.Printf(doc.GetProject().GetName());
}
|