Duder58
Petroleum
- Feb 6, 2014
- 14
I have created a VB.NET NXOpen application with a code snippet from a journal. In the application I am attempting to move a title block but the "ID" of the title block changes lets say when it is placed on Sheet 2. How can I get the identifier of the title block and substitute workPart.FindObject("HANDLE R-575156") with some type of ID that is not hard coded? Below is a code snippet I am working with.
Dim titleBlock1 As Annotations.TitleBlock = CType(workPart.FindObject("HANDLE R-575156"), Annotations.TitleBlock)
I am running NX 8.5 and using VB.NET for this project.
Thanks
Dim titleBlock1 As Annotations.TitleBlock = CType(workPart.FindObject("HANDLE R-575156"), Annotations.TitleBlock)
I am running NX 8.5 and using VB.NET for this project.
Thanks