MANox
Mechanical
- Apr 2, 2007
- 121
Hello EveryOne,
I need information about PartsLists in my workpart - which one have enable AutomaticUpdate (and which have dissable).
For table it's easy - p.ex.:
Teoretical, Partslist is kind of Table, and when I record journal for change AutomaticUpdate program select it's automaticly like TableSection.
But when I try select all partslists programicaly, I can't select section of them.
Maybe sombody can help with this?
(it's not nessesery for me, but a little useful).
Best regards
MANok
NX2027
TC14
I need information about PartsLists in my workpart - which one have enable AutomaticUpdate (and which have dissable).
For table it's easy - p.ex.:
Code:
For Each section As Annotations.TableSection In workPart.Annotations.TableSections
Dim objects1(0) As NXOpen.DisplayableObject
objects1(0) = section
Dim tableEditSettingsBuilder1 As NXOpen.Annotations.TableEditSettingsBuilder = Nothing
Try
tableEditSettingsBuilder1 = workPart.SettingsManager.CreateTableEditSettingsBuilder(objects1)
tableEditSettingsBuilder1.TableSection.ApplyToAllSections = True
lw.WriteFullline(section.Tag & " " & tableEditSettingsBuilder1.PartsList.AutomaticUpdate)
Dim nXObject1 As NXOpen.NXObject = Nothing
nXObject1 = tableEditSettingsBuilder1.Commit()
tableEditSettingsBuilder1.Destroy()
Catch
End Try
Next
Teoretical, Partslist is kind of Table, and when I record journal for change AutomaticUpdate program select it's automaticly like TableSection.
But when I try select all partslists programicaly, I can't select section of them.
Maybe sombody can help with this?
(it's not nessesery for me, but a little useful).
Best regards
MANok
NX2027
TC14