License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

MEP Rotation script, and keep his snap points

Anonymous
Not applicable
Hello
did someone achieves rotate a MEP connector without trigonometrical functions?, and keep the MEP vector available when a pice of pipe/duct its trying to connect to it.
If you use the rotation cursor of 3d script, it just lose the "auto connection" function, so you have to put the local cursor in the 0,0,0 global, before add the connector script and make the rotation connector by the trigonometrical functions in the parameters script.


I think the trouble with MEP objects is that the rotation has to be described with trigonometrical functions, because the connector always refers to the 0,0,0 global, no matter where is your cursor.
1 REPLY 1
Nader Belal
Mentor
hirofuro,

TL;DL Your way will not work, end of the story.

Explanation, the trigonometrical functions mission is to calculate:
1. Hotspots positions in 2D.
2. Calculate the normal vector values for each connection.

About the 0,0,0 origins, is to make scripting and vector calculations easier.

The trouble is you're trying to break the MEP objects' programming schema, without understanding how the schema was implemented to make it work.

Advise, follow the schema.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.