Mechanical Design |
3D Functional Tolerancing & Annotation |
Adding Attribute Links |
Use Case |
AbstractThis article discusses the CAAScdTpiAddAttributeLinks use case. This use case explains how to browse and read tolerances defined in a CATIA V5 document. |
What You Will Learn With This Use Case
This use case is intended to help you to add an attribute link on a 3D text..
How To Add Attribute Link
On a text, you must obtain the 2D text on the interface DrawingText. And then
you must use functions of this interface.
At the end, you must refresh the screen by the call of the function
"ModifyVisu".
In this example, you add an attribute link on the length of a pad (Pad.1) that
you have created in a part.
### How to get
Annotations? ### Dim Txt As DrawingText Set Txt = annotation.Text.Get2dAnnot Txt.FrameType = catCircle Dim parameters As Parameters Set parameters = part.Parameters Dim lengthParam As RealParam Set lengthParam = parameters.Item("Part1\PartBody\Pad.1\FirstLimit\Length") Txt.InsertVariable 26, 0, lengthParam annotation.ModifyVisu |
[Top]
History | |
Version: 1 [Feb 2003] | Document created |
[Top] |
Copyright © 2003, Dassault Systèmes. All rights reserved.