cancel
Showing results for 
Search instead for 
Did you mean: 

Block Styler Set List C# Help

Pioneer
Pioneer

Hi, 

i need some help to create a Setlist.

 

I created a Setlist with the Block UI Styler and also created a Seed dlx File for the Set List (Curve Collector). 

Now i want to implement the .dlx into Seeder. 

I want to use the SetSeed Function.

But i'm not able to do this because the Function is internal protected.

 

How do i set the Seed ? when i type NXOpen.BlockStyler.SetList. there is no SetSeed.

See attached File.

 

i hope that anybody can help meSmiley Happy

 

 

2 REPLIES

Re: Block Styler Set List C# Help

Siemens Phenom Siemens Phenom
Siemens Phenom

See the block specific properties table for SetList in the online help. Note that the SeedDlxFile property can only be set at creation (value in the Access Colums is "C"). This means it must be set in the Block Styler itself, not via code.

Re: Block Styler Set List C# Help

Phenom
Phenom

Although @JimB is correct, you can only set the seed at design time, your source code image shows that you would not see a SetSeed method even if there was one. You are trying to use it from the class not your instance of it which would not work. What you should do is first set your 'mySeeder' variable to an instance of SetList and then:

mySeeder.SetSeed(myDLXFile);

 

Graham Inchley Snr R&D Engineer (Systems Development), Sandvik Coromant
Lenovo ThinkPad W540, Win7, 16GB. Developing in: Java | C | C# | KF
Production: NX8.5.3.3 MP11 64bit Testing: NX9.0.2.5