Library Global Text Parameter - Uninitialized Variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-03-13 04:27 PM
2018-03-13
04:27 PM
_reqMVO6 = 0 r6 = LIBRARYGLOBAL ("Custom Model View Options", "pos_1_mvo", p1value) if r6 then if (p1value= px1) then pos_1 = p1 endif if (p1value= px2) then pos_1 = p2 endif if (p1value= px3) then pos_1 = p3 endif endifSo here is my bit of script for a library global command. It should work besides the fact it is picking up px1, px2 and px3 as uninitialized variables. I believe this is because they are Text type variables. How can I get this script to work?
my values in my Custom Model View Options are defined as shown below:
px1 = "Room Name" px2 = "Room Number" px3 = "Room Area" values "pos_1_mvo" px1, px2, px3Thanks!
ArchiCAD 23
Windows 10
Windows 10
0 REPLIES 0