|
Layerz
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
Post by transient // Jan 1, 2009, 6:30pm
transient
Total Posts: 977
|
Everything seems sweet now, thanks.:) |
Post by roman // Jan 5, 2009, 1:44pm
roman
Total Posts: 320
|
This is great, free layers, no less. I wish our developers were as responsive fixing bugs:) |
Post by frootee // Jan 5, 2009, 2:10pm
frootee
Total Posts: 2667
|
The Express version is free. I have that. You can build applications with it. As I understand though, you need the pro version to make a plug-in for tS. I think it has something to do with saving a specific file type that the Express version can't do.
I don't think ATL and MFC libraries are not included in the Express Edition.
If you want to use dialogs (windows), you need those.
It may be worth a shot to download the SDK and examples.
Start Studio Express, load an example solution, and select: Build->Clean.
Then recompile to see if the examples compile. I believe they do but your mileage may vary as you add functionality.
Great job on the Layerz package Dele! :) |
Post by Délé // Jan 5, 2009, 2:10pm
Délé
Total Posts: 1374
|
Thanks Roman. Good to see you around again. :) Haven't heard from you since last year. :p
I hope MS doesn't keep you too busy this year so you have time to swing by the forums once in a while like this again. ;) |
Post by Délé // Jan 5, 2009, 2:14pm
Délé
Total Posts: 1374
|
Thanks for the feedback and for the clarification Froo. :)
That's a good idea to try to compile the examples to see if they work. I'll have to try that. |
Post by prodigy // Jan 5, 2009, 2:29pm
prodigy
Total Posts: 3029
|
.... and Jack (even if he is dead)....
Im asking the same question...Where's Jack?? :confused:
Ha!! maybe he was planing the nightmare before christmas.. :rolleyes:
17408 |
Post by Délé // Jan 5, 2009, 2:34pm
Délé
Total Posts: 1374
|
Or maybe he's been hiding in a box. :p
17409
Whatever he is up to (hopefully just a break) I hope he comes back before long. Roman and Olli just posted again today. Good to see those guys back. Now we just need Jack, John Logan, and maybe a few others and the gang will all be back. :D |
Post by clintonman // Jan 5, 2009, 3:56pm
clintonman
Total Posts: 304
|
I don't think ATL and MFC libraries are not included in the Express Edition.
If you want to use dialogs (windows), you need those.
It may be worth a shot to download the SDK and examples.
Start Studio Express, load an example solution, and select: Build->Clean.
Then recompile to see if the examples compile. I believe they do but your mileage may vary as you add functionality.
Great job on the Layerz package Dele! :)
You think you can do dialogs with the platform SDK, but it won't be easy without a gui interface to build them. I don't think the samples compile without ATL and express doesn't have ATL.
Clinton |
Post by Steinie // Jan 5, 2009, 4:03pm
Steinie
Total Posts: 3667
|
Good to see those guys back. Now we just need Jack, John Logan, and maybe a few others and the gang will all be back. :D
John Logan dropped by just 4 days ago. |
Post by Saul // Jan 8, 2009, 12:11pm
Saul
Total Posts: 32
|
This is great, free layers, no less. I wish our developers were as responsive fixing bugs:)
Maybe busy doing other things? |
Post by SteveBe // Jan 8, 2009, 4:59pm
SteveBe
Total Posts: 282
|
:banana:Great stuff Délé, Thanks!!! :) |
Post by johnhoward // Jan 11, 2009, 1:34pm
johnhoward
Total Posts: 231
|
I would like to add my thanks to Délé for this amazing tool. I just started playing with it and already I have a way to make invisible several parts of a building while I work on other parts - with just a click. Amazing! Many thanks. |
Post by Saul // Jan 11, 2009, 10:46pm
Saul
Total Posts: 32
|
This is good and helpfull stuff Dele, thank you very much.
Is it possible to add 'refresh all' button? I am finding that going to Model and back to wS will reveal layers that are set as invisible and it needs going into all the individual layer settings to make layer show as set.
Also i get error when using 'disable layer' buttons, i attach error box and pic of the Layerz UI when error occurs. |
Post by Délé // Jan 11, 2009, 11:34pm
Délé
Total Posts: 1374
|
Thanks guys. :)
Yeah, I see what you mean Saul. When you go into PE mode on the model side, it seems to make the object visible again. I could add a "refresh all layers" button, though I still only recommend using Layerz with the workspace side. There may be other model side issues lurking around too. ;)
I'm not sure what's going on with the error. I can't seem to reproduce it and the line number on the error message doesn't match up with the script. Not sure what's going on there. Would it be possible to email me the scene, or a cutdown version of it with the error message still occurring? Or can you pinpoint the steps to reproduce it? Did it start giving the error after working in the model side?
Email:
Dele@DeleVinci.com
Thanks |
Post by Saul // Jan 12, 2009, 6:35am
Saul
Total Posts: 32
|
Thanks guys. :)
....though I still only recommend using Layerz with the workspace side.
Hi Dele
I would love to stay in the wS but unfortunately it is too under-featured to be practical. It is tools like Layerz that make the experience close to being a happy one!
I can make the layers appear by just going into Model and dragging on any objects bounding box, doesnt need PE at all.
I will experiment and try to find a method in the error dialogue.
In your sample video you show selecting cube in wS and cube highlights, how do you set wS up to do this? One of the big problems i have in wS is knowing what is selected, even selecting object in Scene View panel is not always reliable.
TIA |
Post by Saul // Jan 12, 2009, 8:27am
Saul
Total Posts: 32
|
Or can you pinpoint the steps to reproduce it?
I think i have chased this down. It seems to be to do with not having any objects on layer01.
Generate new scene
Put Layerz to LE
Put cube to wS
Change Layerz to Layer 2 and set selection
Click on Layer02 disable layer button
That makes the error every time for me. If you now add another cube and put it on layer01 the error will not happen. |
Post by Délé // Jan 12, 2009, 11:31am
Délé
Total Posts: 1374
|
Thanks Saul. I still can't seem to reproduce the problem here though. :confused:
Are you using the most recent version of Layerz? There was a bug with the disable layers buttons a while back that I had fixed. I updated the script on 1-1-09. At first I thought this was a different bug because of the error message, but perhaps it is the old bug that I fixed?
In your sample video you show selecting cube in wS and cube highlights, how do you set wS up to do this? One of the big problems i have in wS is knowing what is selected, even selecting object in Scene View panel is not always reliable.It's just highlighting because it's getting added to the layer, and the layer is set to wireframe. What I was demonstrating there was the auto checkbox. When you have it checked, it will automatically add the objects to the current layer as you select them. |
Post by trueBlue // Jan 12, 2009, 11:40am
trueBlue
Total Posts: 1761
|
I think Saul is referring to the Desktop preferences:
Selection mode
Selection highlight |
Post by Saul // Jan 12, 2009, 10:09pm
Saul
Total Posts: 32
|
I think Saul is referring to the Desktop preferences:
Selection mode
Selection highlight
Aha! Thanks trueBlue.
Thats the one. |
Post by Saul // Jan 12, 2009, 10:22pm
Saul
Total Posts: 32
|
Are you using the most recent version of Layerz?
The .rsobj is dated 9-1-2009. I think the problem may be the latest version of its host programme!! But thats not your problem.......yet )) |
Post by TheWickedWitchOfTheWeb // Jan 13, 2009, 3:23pm
TheWickedWitchOfTheWeb
Total Posts: 858
|
Used Layerz on a scene, saved scene, re-opened later and Layerz won't let me turn layers on or off. Ever click of any little green button throws up the following error box. Help!
17584 |
Post by Délé // Jan 13, 2009, 4:01pm
Délé
Total Posts: 1374
|
Hmmm...there must still be a bug in there somewhere. The problem is that the posted error messages are not matching up with the code and I can't recreate he errors, so I'm having a hard time pinpointing what is going on.
Would you be able to send me the scene for examination Katherine?
Dele@DeleVinci.com
If you can, I'll see if I can find this bug and squash it.
Thanks |
Post by Délé // Jan 13, 2009, 4:19pm
Délé
Total Posts: 1374
|
Did you delete any objects without removing them from their layer first?
I did notice that if you do that, it will cause errors. It is always best to remove any objects from their layers before deleting them. If you have deleted an object already, you can work around this issue by adding and/or removing an object from the layer. That will update that layers object count and the disable/enable button will work again for that layer.
I'll try to find a way for it not to break though.
If you didn't delete any objects before removing them from their layers, then there is another bug I have yet to find. |
Post by trueBlue // Jan 13, 2009, 4:20pm
trueBlue
Total Posts: 1761
|
In the Layer Status script:
Could it be "Pathway" Dele?
I do not see it defined anywhere.
This is for both the Enable and Disable portion.
I am not sure I understand the line above either as it is pointing to Layer1 only. |
Post by Délé // Jan 13, 2009, 4:28pm
Délé
Total Posts: 1374
|
The layerz script works by copying a template node into each layer node. This template node has an attribute called "Pathway". It holds the pathway for the object that is on that layer. So that shouldn't be causing any trouble there as I'm just collecting the pathway attribute so I can adjust the correlating object in the scene.
Now it looks like I forgot to add a failsafe in case someone deletes an object. So in that case, "Pathway" would reference an object that is no longer there.
I suspect this is probably the problem. I'll just have to add a check that makes sure the node exists before proceeding further. |
Post by TheWickedWitchOfTheWeb // Jan 13, 2009, 4:42pm
TheWickedWitchOfTheWeb
Total Posts: 858
|
No objects deleted. Just didn't work from reloading the scene. Can't send the scene as it's gone now, I removed everything from layers and carried on.
<edit> and since that error physics has stopped working. The objects still have their physics properties, they just don't do anything. |
|