Civil Engineer's Forum-FORUM8
Set this page as your homepage QR

Facebook - FORUM8

Twitter - FORUM8

instagram - FORUM8

YouTube - FORUM8

 Sitemap | Terms of Service | Inquiries | English translation site | Japanese | English | Korean | Vietnam | Francais

Q&AUC-win/Road SDK Q&A('16.12.26)

NEW! Update content

Q2-1. How can I output specific model coordinates within a project using the SDK?
('16.12.26)



Table of Contents
 1. Operating Environment Section
  1-1. System 
Q1-1-1. If you own a version of Delphi newer than XE2, is it possible to use the UC-win/Road SDK?
 2. Data creation section
Q2-1. How can I output specific model coordinates within a project using the SDK?
 3. Error section
 4. Other



 1. Operating Environment Section
  1-1. System 
 
Q1−1−1. If you own a version of Delphi newer than XE2, is it possible to use the UC-win/Road SDK?
A1−1−1. The UC-win/Road SDK is specifically designed for Delphi XE2 and will not function with other versions of Delphi.
Therefore, you will need to obtain and install Delphi XE2 separately.
Please refer to the following URL from Embarcadero for information on "How to obtain licenses for DRAD Studio, Delphi, and C++Builder versions XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, and 10 Seattle (older versions)," and then acquire a license for Delphi XE2.
By obtaining a license, you gain the right to use Delphi XE2.

By entering the serial number and registration key code at the link provided in this explanation, you can download the installation image for Delphi XE2.

http://support.embarcadero.com/jp/article/40874

Please note that the academic version of Delphi does not grant rights to obtain licenses for older versions of Delphi, so you will need to purchase a new copy of Delphi XE2 separately.
However, Delphi XE2 has already been discontinued, so you will need to purchase a standard version of the latest Delphi. Also, please note that it is not possible to upgrade from an academic edition to a standard edition.
 2. Data creation section
 
Q2−1. How can I output specific model coordinates within a project using the SDK?
A2−1. Please refer to the `ExportModelsToFile` function in the sample plugin "ModelExportPlugin."
The position property of an IF8ModelInstance object allows you to retrieve the coordinate location of the model.

On the other hand, the aforementioned function outputs coordinate positions within the internal local coordinate system of UC-win/Road.
To obtain coordinates in a global geodetic system, such as latitude and longitude, it is necessary to convert the local coordinates that were previously calculated.

(1) Conversion from local coordinates to world geodetic system coordinates
Coordinate transformations to the World Geodetic System can be performed as follows:
X := (X0 + GridSizeZ * GridDeltaZ) - _z;
Y := _x + Y0;
Z := _y;
※ _x, _y, and _z represent local coordinates, while X0 and Y0 represent the origin coordinates after coordinate transformation
※ GridSizeZ represents the number of cells in the north-south direction of the terrain grid, and GridDeltaZ represents the length of each cell in the north-south direction

The parameters required for the formula mentioned above can be obtained by evaluating the functions specified in the "World Geodetic System.txt" file within the ZIP archive provided below.
The code is also documented in the SDK's help section, "Coordinate systems and vector operations." Please refer to that as well.

(2) Conversion from local coordinates to latitude and longitude
Coordinate transformations to latitude and longitude can be performed using the functions described below.
IF8ProjectForRoad.ConvertPositionToLatLong()

Within the ExportModelsToFile function of the SDK sample ModelExportPlugin, it can be implemented in a way similar to the "latitude_longitude.txt" file within the following ZIP archive.
(Q2-1.zip)
 3. Error section
 4. Other






Go back
UC-win INDEX


Contact information




■ [User Introductions]
sugiko Corporation, Technical Sales Department
Scaffolding Safety Consulting Department

Mie University, Graduate School of Engineering
Seika Digital Image Co., Ltd.
Infranet Co., Ltd.






>> Product comprehensive catalog


>> Premium membership services
>> Financial support

Recently released products
■ Electrical Media Delivery Support Tool Version 19
■ Retaining wall design, 3D reinforcement detailing, Version 26
■ Bridge Maintenance Plan System Version 7
■ Calculation for concrete slab placement (compliant with R7/H29 road standards), Version 2

Campaign in progress
■ Within 2 years of release, enjoy a 30% discount plus 30,000 FPB points back
■ Smart download
■ Design Festival 2026, exclusive for visitors
■ Drone school discount

Seminar and event calendar
Upcoming seminars
11/26  Metavernia F8 VPS experience
11/27  Introduction to Structural Analysis
12/2  Engineer programming
  Introduction to yoga experience
12/3  DesignBuilder experience
12/4  Reinforced concrete foundation

Software/Support Services
VR software(Virtual reality)
《UC-win series》
Road simulator
• Driving simulator
• Micro-simulation
Evacuation analysis and simulation
>> Other VR software
FEM analysis software
・3-dimensional plate dynamic nonlinear analysis
・2-dimensional dynamic nonlinear analysis
・A comprehensive finite element analysis system
>> Other FEM analysis software
Civil engineering, architecture, and design software
《UC-1 Series》
・Structural analysis/cross-section
Bridge superstructure
・Bridge substructure components
Foundation work
Temporary construction
Road construction and earthworks
・Harbors
・Hydraulic engineering
・Subsurface investigation and analysis
・CAD/CIM systems, construction accounting
• Maintenance and management, earthquake risk
Architecture
・Ships/Evacuation
>> Other civil engineering, construction, and design software
Cloud
《Supercomputer Cloud®》
・Supercomputer cloud services
《VR-Cloud®》
・Real-time VR system
Analytical support services/support
・UC-win/Road support system
・Design verification support service
・Engineer's Studio® analysis support
・Ground investigation analysis support services
・EXODUS/SMARTFIRE analysis support
・XPSWMM analysis support services
Building energy simulation
• 3D laser scanning and modeling
・3D modeling services
• 3D report and drawing services
>> Other support services
Various solutions
Seismic resistance assessment/analysis
・Design of steel bridges
・New bridge construction methods
Architectural design
・Local governments
・Medical VR systems
・Parking solutions
・ECO solutions
>> Other solutions