Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

3D track

dear all,

       hi, I have a problem about 3D track,how to add userdefined graphic track? such as  the following picture in nanobox assembly?

 a.png

2 REPLIES
Solution
Solution
Accepted by topic author lincong
‎10-10-2016 08:40 PM

Betreff: 3D track

Hello Experimenter,

 

you can change the profile of a track by using the method extConfiguration.

The following method sets a new profile for a track.

var configs : table := Track._3D.ExtConfiguration;
			
configs[0, 2] := "MyProfile";
			
var profile : table := configs[1, 2];
profile.delete;
			
profile[1, 1]  := -0.025;  profile[2, 1]  := -0.05;
profile[1, 2]  := -0.06;  profile[2, 2]  := -0.05;
profile[1, 3]  := -0.06;  profile[2, 3]  := 0.10;
profile[1, 4]  := 0.06;  profile[2, 4]  :=  0.10;
profile[1, 5]  := 0.06;  profile[2, 5]  :=  -0.05;
profile[1, 6]  := 0.025;  profile[2, 6]  :=  -0.05
profile[1, 7]  :=  0.025;  profile[2, 7]  :=  -0.04;
profile[1, 8]  :=  0.05;  profile[2, 8]  :=  -0.04
profile[1, 9]  :=  0.05;  profile[2, 9]  := 0.09
profile[1, 10] :=  -0.05;  profile[2, 10] := 0.09
profile[1, 11] :=  -0.05;  profile[2, 11] := -0.04
profile[1, 12] := -0.025;  profile[2, 12] := -0.04
profile[1, 13] := -0.025;  profile[2, 13] := -0.05
			
Track._3D.ExtConfiguration := configs;

 

Hope this will help.

 

Regards

 

GG

Betreff: 3D track

thank you for you answer my question . I finished this question .thank you again!