cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Ben D
Booster

missing global functions

Does anyone know if some global functions have been renamed,. changed or lost between the old style monolithic libraries and the new global libraries?

 

We have a few custom objects that call the function"GetPlanViewGlobals" that have broken since we shifted to the global libraries - this function doesnt appear to exist any more, or if it does, I'm not sure in which of the libraries it is in.

 

the particular line in the object's 2D script is:


call "GetPlanViewGlobals" parameters all returned_parameters gs_symbtype_2D_m

 

any suggestions as to how to resolve this much appreciated.

 

Operating system used: Mac Apple Silicon 15.7.5 Sequoia

 

BIM Manager / Senior Designer @ Neeson Murcutt Neille, Sydney Australia
AC28 AUS + CI Tools, BIMcloud SaaS
Apple Mac Studio CPU: M1 Ultra 20C GPU:48C RAM:64GB OS:Sequoia 15.7.5
PC CPU: Ryzen 9 7950X GPU:RTX4080 RAM:64GB OS:Win11
1 Solution

Accepted Solutions
Barry Kelly
Moderator

"GetPlanViewGlobals" is a macro from your old library.

It may not exist in the new global libraries as the MVO global commands in 28/29 may have changed.

The old macro still uses the old globals from the old MVO.

So you need to load the old library (or parts of it) that control the old MVOs.

 

BarryKelly_0-1780381536736.png

 

Here you can see I have done this with my old library, so those old parts can use the old MVO global parameters.

 

BarryKelly_1-1780381664891.png

 

This means you will have 2 places in the MVO to change settings, until you update your old objects.

 

 

Or you need to re-write your old objects (or that GetPlanViewGlobals macro) so they use the new MVO global parameters.

You would need to look into that macro to find what parameters it is using and then swap them fro the equivalent 28/29 ones.

I haven't looked that far into it all yet.

 

Barry.

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Go to post

2 Replies 2
Barry Kelly
Moderator

"GetPlanViewGlobals" is a macro from your old library.

It may not exist in the new global libraries as the MVO global commands in 28/29 may have changed.

The old macro still uses the old globals from the old MVO.

So you need to load the old library (or parts of it) that control the old MVOs.

 

BarryKelly_0-1780381536736.png

 

Here you can see I have done this with my old library, so those old parts can use the old MVO global parameters.

 

BarryKelly_1-1780381664891.png

 

This means you will have 2 places in the MVO to change settings, until you update your old objects.

 

 

Or you need to re-write your old objects (or that GetPlanViewGlobals macro) so they use the new MVO global parameters.

You would need to look into that macro to find what parameters it is using and then swap them fro the equivalent 28/29 ones.

I haven't looked that far into it all yet.

 

Barry.

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Ben D
Booster

Thanks Barry, that's really helpful.

 

Out of interest, is there any reference documentation for the new MVO parameters and other global macros?  

 

Cheers

Ben

BIM Manager / Senior Designer @ Neeson Murcutt Neille, Sydney Australia
AC28 AUS + CI Tools, BIMcloud SaaS
Apple Mac Studio CPU: M1 Ultra 20C GPU:48C RAM:64GB OS:Sequoia 15.7.5
PC CPU: Ryzen 9 7950X GPU:RTX4080 RAM:64GB OS:Win11

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!