Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Annotation View Support Reference Catia VBA

Status
Not open for further replies.

Jegsaran

Automotive
Joined
Dec 16, 2020
Messages
42
Location
IN
Hi All,
I am trying to create an annotation view in my product. But as soon as I have created it I am getting the view as Isolated and it is not showing the reference. Please check the smap attached. It would be much of a help if anyone could answer it.
My code as follows,

Set AnnotationSets = oTopAssy.GetTechnologicalObject("CATAnnotationSets")
Set AnnotationSet = AnnotationSets.Item(AnnotationSets.Count)
Set annotationSet1 = AnnotationSets.Item(AnnSet)
Set theViewFactory = annotationSet1.TPSViewFactory
Set RefTempltPrtHybShapeFrntPlane = oTempltPrt.CreateReferenceFromObject(oTempltPrtHybShapeFrntPlane)
Set FrntView = theViewFactory.CreateView(RefTempltPrtHybShapeFrntPlane, 3)
FrntView.Name = "Front Section Cut View"
 
 https://files.engineering.com/getfile.aspx?folder=ef718a69-6b8a-4ec1-a44f-931fb31b9025&file=Annotation_View_Support.PNG
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top