Results 1 to 6 of 6
Thread: Ruby Consol Bug
-
09-16-2013, 09:14 AM #1
Ruby Consol Bug
If you happen to have an item selected in Layout and then go to the Plan and select another object - when you then open the Ruby Console and type "owner.names" Ruby reports "nil.class".
Do we need a separate instance of "Ruby Console" for the Layout vs Plan? What about 2 Plans open at the same time?
If so, how would we do that?Joseph P. Carrick, Architect - AIA
ASUS M51AC Desktop, core i7-4770 CPU @3.4 GHZ, 16 GB Ram, NVidea GT640 with60M with 3GB GM, 30" HiRes (2560/1600) Monitor , (2) 24" ASUS Monitors
Windows 8.1
Chief Architect 9, 10, X1, X3, X4 Premium, X5 Premium, X6 Premium
-
09-16-2013, 10:18 AM #2
There is only one Ruby script engine which opens with the program, not with the plans and is common to all the plans. IOW all the plans are in the same namespace. This means that muli open plans can have name conflicts because the same Global space is used for all plans at the same time . Also, if you close a plan, Ruby and the previous global info stay active.
Finally, switching between plans, Ruby does get "confused" as to which is the active object (erratic). I believe this is "part????" of the problem with reference text boxes and why Scott seems to have more problems with this than others.
I have sent in a suggestion that each plan have its own namespace and that the loss of focus be looked into --- no response other than forwarded to development.Gerry
NewCraft Home Services
Design/ Compliance Review
PE, X6 , Sketchup 8, TurboCad Pro 20
-----------------------------------
ASUS P9X79D, i7-3820, GTX680 w/4gb
-----------------------------
If the Government would just cut down more d*** trees, I'd have a much better view of the forest.
-
09-16-2013, 10:36 AM #3
OK, This makes some sense. It might be important for the Plan and Layout to share Global space.
Finally, switching between plans, Ruby does get "confused" as to which is the active object (erratic). I believe this is "part????" of the problem with reference text boxes and why Scott seems to have more problems with this than others.Joseph P. Carrick, Architect - AIA
ASUS M51AC Desktop, core i7-4770 CPU @3.4 GHZ, 16 GB Ram, NVidea GT640 with60M with 3GB GM, 30" HiRes (2560/1600) Monitor , (2) 24" ASUS Monitors
Windows 8.1
Chief Architect 9, 10, X1, X3, X4 Premium, X5 Premium, X6 Premium
-
09-16-2013, 05:41 PM #4Registered User Promoted
- Join Date
- Aug 2011
- Location
- Tri-Cities (Kennewick) WA
- Posts
- 22
I have run into problems having more than one plan open and a layout. I use macros attached to boxes for square footage #'s that also are used in the layout. If I have more than one plan open, the layout does not know which plan to pull the sq ft from.
Anthony St.Martin
509-396-4636
www.sageland-design.com
asm@sageland-design.com
Chief X5 - Started with v.8
-
09-16-2013, 06:35 PM #5Joseph P. Carrick, Architect - AIA
ASUS M51AC Desktop, core i7-4770 CPU @3.4 GHZ, 16 GB Ram, NVidea GT640 with60M with 3GB GM, 30" HiRes (2560/1600) Monitor , (2) 24" ASUS Monitors
Windows 8.1
Chief Architect 9, 10, X1, X3, X4 Premium, X5 Premium, X6 Premium
-
09-17-2013, 07:08 AM #6Registered User Promoted
- Join Date
- Aug 2011
- Location
- Tri-Cities (Kennewick) WA
- Posts
- 22
That is how I have been doing it once I figured out what was going on.
Anthony St.Martin
509-396-4636
www.sageland-design.com
asm@sageland-design.com
Chief X5 - Started with v.8