Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Pseudo Attributes

  • Last UpdatedJul 09, 2024
  • 4 minute read

Point in Space (SPMSFP)

Searches a space arrangement for a space in which a user provided position qualifier exists.

Called on

Space Layout (SPMSA)

Position Qualifier (Point)

Name of Space

Input

Returns

Space Bounding Box (SPMBB)

Returns the bounding box of selected space in the form of an array of 6 real numbers which represent the minimum and maximum bounds.

Called on

Space (SPMSPC)

Input

None

Returns

The space bounding box is returned in the format:

Xmin Ymin Zmin Xmax Ymax Zmax

Unit is mm.

Total Volume (SPMMVO)

Returns the total volume of the selected space.

Called on

Space (SPMSPC)

Input

None

Returns

Moulded volume of space is returned.

Unit is mm3.

Center of Volume (SPMCOV)

Returns the center of volume for the selected space.

Called on

Space (SPMSPC)

Input

None

Returns

The centre of volume is returned in the format:

X <value> Y <value> Z <value>

Unit is mm.

Net Volume (SPMNVO)

Returns the net volume of the selected space compartment.

Called on

Compartment (SPMCSA)

Space (SPMSPC) If model type is Compartment.

Input

None

Returns

Net volume of space is returned. Net volume is calculated as mould volume - structural allowance (SPMALL).

Unit is mm3.

Full Load Weight (SPMFLW)

Returns the full load weight of the selected compartment.

Called on

Compartment (SPMCSA)

Space (SPMSPC) If model type is Compartment.

Input

None

Returns

Full load weight of space is returned. Full load weight is calculated as net volume (SPMNVO) * permeability (SPMPER) * density (SPMDE).

Floor Area (SPMCFA)

Returns the floor area of the space as volume.

Called on

Space (SPMSPC)

Input

None

Returns

Floor area is returned. It is calculated as volume (SPMMVO)/ (ZMAX - ZMIN) fetched from SPMBB.

Unit is mm2.

Area of Face (SPMARA)

Returns the area of the selected face.

Called on

Space (SPMSPC)

Input

None

Returns

The area of the face is returned.

Unit is mm2.

Adjoining Space (SPMAS)

The adjoining Space pseudo attribute enables the user to find the SPMSPC element that is adjacent to the currently selected space in the hierarchy. Using a position qualifier which resides in the selected space as input, the attribute snaps a point to the closest face of the given point, and moves its location outside using the normal. Then, using the existing SPMSFT attribute, it finds the space in which the new point resides

Called on

Space (SPMSPC)

Input

Position Qualifier (Point)

Returns

DBRef of adjoining space.

Closest Face (SPMCF)

The closest face attribute works in a similar fashion to SPMAS in that it is called on a space and given a position qualifier. It works in a similar fashion to SPMAS, as if the attribute is able to successfully snap a point on the closest face to the given point, the DBRef of that face is returned.

Called on:

Space (SPMSPC)

Input:

Position Qualifier (Point)

Returns:

DBRef of closest face to the point.

Face RSO (SPMRSO)

This attribute will return the DBRef of the RSO of the selected face. It requires no input, only for a face to be selected in the Design Explorer.

Called on

Face (SPMFAC)

Input

None

Returns

DBRef of RSO.

RSO Planar Panel (RSOPP)

This attribute finds the planar panel of the selected RSO and returns it as a DBRef. It can be called on a space, face or directly on an RSO in the design explorer. Using the RSO’s face, it finds each plane, and creates a line based on the same normal and the user input point. If they intersect, a check is made to see if that intersect point is within the faces bounding box.

Called on

Space (SPMSPC)

Face (SPMFAC)

RSO (HRSO)

Input

Position Qualifier (Point)

Returns

DBRef of the planar panel.

RSO Planar Panel Thickness (RSOPPT)

This Attribute extends the RSOPP attribute but returning the thickness of the planar panel that is found. It takes a point and uses the same technique by comparing two points via intersection. The thickness of the panel is returned as a Real value.

Called on

Space (SPMSPC)

RSO (HRSO)

Input

Position Qualifier (Point)

Returns

Thickness of panel as a Real value.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in