Changes with Layer Combinations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-22 10:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-23 09:01 AM
It is not possible to make an object sensitive to a layer combination and it is really a standing wish.
But a way to do what you want is zone. An object is sensitive to the zone.
Then you can have a zone on a particular layer.
This layer select to appear only on your particular layer combination. The presence —or not— of this zone may affect the appearance of your object.
the code is the next
request ("Zone_relations","",nom_zone,code_zone)
For scripting take a look to this topics in FC-Cadlink —sorry in french but really better than my english…— Changement d'apparence suivant plans ;
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-23 04:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-26 05:46 PM
Unused function return value at line 14 of file filename.gsm
Any guesses at to why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-26 06:15 PM
I have try it and it works for me.
Can you copy your code for helping me to guess why ?
If you want I can send you the example that works, just PM me your email adress for.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-26 06:29 PM
I actually found another thread talking about this same error. Apparently, it is requiring that I set the request to an actual variable:
var = REQUEST ("Zone_relations", "", category_name, code, name, number)
Which is actually better. I don't need all the var names, I just need to know if a zone is present or not. Thanks for your help. It is working properly now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-28 05:47 PM
I have it pulling the information now, but my if statement is failing. ie.
zoneexists = REQUEST ("Zone_relations", "", category_name, code, name, number)
TEXT2 3,1,name ! this prints the 'name' of the zone it is in
IF name="FOUNDATION" THEN ! this gives me an error (see below)
TEXT2 3,1,name
ENDIF
The error I am getting on that if statement is this:
"Incompatible types in expression at line xxx of the file xxx.gsm (System error -1)"
Anyone care to venture a guess on this? I have seen this near same code on these boards and everyone says it should work, but it is not. Help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-28 07:15 PM
I have the same error but it works properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-28 07:21 PM
When I open the object property box it gives me the same error and displays an error report in the 2D window screen of the properties box. This doesn't make sense to me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-12-28 07:36 PM
I have the same error in the "check script".
But the objects change in function of the zone were it is as I want.
If you want my file I cant send you.