Share

Application.ActiveDocument Property

Parent Object: Application

Description

Gets the active Document.

Syntax

Application.ActiveDocument() As Document

Property Value

This is a read only property whose value is a Document.

Samples

Name Description
Add assembly insert constraint This sample demonstrates the creation of an assembly insert constraint.
Add assembly mate constraint This sample demonstrates the creation of an assembly mate constraint.
Add mate constraint using work planes in parts This sample demonstrates creating a mate constraint between two occurrences using the work planes within those occurrences.
Add mate constraint with limits This sample demonstrates the creation of an assembly mate constraint with maximum and minimum limits defined.
Balloons - edit This sample demonstrates the editing of balloons in a drawing.
Creation a balloon This sample demonstrates the creation of a balloon.
Find component referenced by balloon This sample demonstrates how to find the component that a balloon references.
Using the BOM APIs This sample demonstrates the Bill of Materials API functionality in assemblies.
Exporting the assembly BOM This sample demonstrates exporting the Assembly BOM to an external file.

Version

Introduced in version 4

Was this information helpful?