Jump to content

Sign in to follow this  
Guest

Need help with SCASM and library objects

Recommended Posts

Guest

Hi!I have been trying to find help for my problem here in many threads but I am just getting more confused....The thing is that I need to place many many many library objects in a row and I used GRP command and relative (?) RefPoint coordinates to place them. With Arno's help (thanks ;-) ) that is not a problem. The problem is that I can't get the objects appear and disappear smoothly even though they have a separate V1 setting in the refpoint. All the objects (that span 600 m) pop up at the same time and disappear at the same time instead of appearing and disappearing smoothly one by one. What could be the reason?Header( 1 N66:34:40.25 N66:32:43.69 E025:49:51.00 E025:49:51.00 )LatRange( N66:32:43.69 N66:34:40.25 )Area( B N66:34:32.8960 E025:51:01.5357 20 )GRP( N66:34:32.8960 E025:51:01.5357 )PerspectiveCall( :L1 )ShadowCall( :L1 )Jump( : ):L1RefPoint( 2 :SF67 0.50 d [0.5 * 490.63] [0.5 * 345.33] E= 196.7 V1= 3000 V2= 800 )RotatedCall(:SR67 0 0 36.2 ):SF67Return:SR67callLibobj( 0 EF50EF50 EF50EF50 EF50EF50 0000000B )RefPoint( 2 :SF68 0.50 d [0.5 * 477.64] [0.5 * 363.08] E= 196.7 V1= 3000 V2= 800 );SetScale( :SF68 2400 0 0.5 )RotatedCall(:SR68 0 0 36.2 ):SF68Return:SR68callLibobj( 0 EF50EF50 EF50EF50 EF50EF50 0000000B ) . *******************. Continues like this.... *******************ReturnEndAGreetings,Tatu

Share this post


Link to post
Share on other sites

The reason of your problem is that if one fails you jump to a Return and all the others will also be skipped then. So when one RefPoint fails, you should jump to a label after that object and check the next one.

Share this post


Link to post
Share on other sites
Guest

Ah.....thank you.;-) I had that already built up differently but when I was reading some topics here I thought the "Return" should be done differently. Now I just have all the refpoints in a row. When a refpoint fails it continues to the next one and the last one points to the Return command. Seems to work now.Tatu

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...