Template:Export LandXML: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOINDEX__
__NOINDEX__
__NOTOC__
__NOTOC__
Given a 2D UGrid with triangle cells, and, optionally, a coverage containing one or more arcs, creates a LandXML file containing the 2D surface from the UGrid and breaklines created from the arcs. The breaklines are determined by finding the closest UGrid point to each point on the arc. Arcs do not need to lie on cell edges, and the breaklines, which are simply a list of points, will not necessarily lie along cell edges. LandXML version 1.2 is used.
Given a 2D UGrid or scatter set with triangle cells, and, optionally, a coverage containing one or more arcs, creates a LandXML file containing the 2D surface from the UGrid and breaklines created from the arcs. The breaklines are determined by finding the closest UGrid point to each point on the arc. Arcs do not need to lie on cell edges, and the breaklines, which are simply a list of points, will not necessarily lie along cell edges. LandXML version 1.2 is used.


===Input Parameters===
===Input Parameters===
*''UGrid'' – Select a UGrid consisting of 2D triangle cells.
*''UGrid'' – Select a UGrid or scatter set consisting of 2D triangle cells.
*''(Optional) Input coverage containing arcs to determine breaklines'' – Select a coverage that includes arcs.
*''(Optional) Input coverage containing arcs to determine breaklines'' – Select a coverage that includes arcs.


Line 13: Line 13:
===Current location in Toolbox===
===Current location in Toolbox===
Unstructured Grids / Export LandXML
Unstructured Grids / Export LandXML
===Example===
This example uses the scatter set in found in the [https://s3.amazonaws.com/smstutorials-13.4.aquaveo.com/SMS_ScatterBreaklines.zip Scatter Breaklines tutorial]. The process of creating the LandXML file using this project is as follows:
#Import the "xs" scatter data by opening the "ScatterBreaklineInpute.sms" project.
#If desired, designate breaklines by creating arcs on the "Area Property" coverage.
#Start the Export LandXML tool.
#For the ''UGrid'', set to "Scatter Data/xs".
#If using an input coverage with arcs, select it for the ''Input coverage containing arcs to determine breaklines''.
#Under ''Output file'', click the '''Save As...''' button to open the ''Save File'' dialog.
#Browse to a location to save the LandXML file, give the file a name, and click '''Save'''.
#Click '''OK''' to ''Export LandXML'' tool.
#If the tool finishes successfully, click '''OK'''.
#*If the tool gives an error message, review the message and address the errors before running the tool again.
<noinclude>[[Category:Toolbox UGrid]]</noinclude>
<noinclude>[[Category:Toolbox UGrid]]</noinclude>

Latest revision as of 19:44, 18 February 2025


Given a 2D UGrid or scatter set with triangle cells, and, optionally, a coverage containing one or more arcs, creates a LandXML file containing the 2D surface from the UGrid and breaklines created from the arcs. The breaklines are determined by finding the closest UGrid point to each point on the arc. Arcs do not need to lie on cell edges, and the breaklines, which are simply a list of points, will not necessarily lie along cell edges. LandXML version 1.2 is used.

Input Parameters

  • UGrid – Select a UGrid or scatter set consisting of 2D triangle cells.
  • (Optional) Input coverage containing arcs to determine breaklines – Select a coverage that includes arcs.

Output parameters

  • Output file – Allows setting the path for the exported file.
    • Save As... – Opens the Save File dialog where the directory and file name for the exported file can be designated.

Current location in Toolbox

Unstructured Grids / Export LandXML

Example

This example uses the scatter set in found in the Scatter Breaklines tutorial. The process of creating the LandXML file using this project is as follows:

  1. Import the "xs" scatter data by opening the "ScatterBreaklineInpute.sms" project.
  2. If desired, designate breaklines by creating arcs on the "Area Property" coverage.
  3. Start the Export LandXML tool.
  4. For the UGrid, set to "Scatter Data/xs".
  5. If using an input coverage with arcs, select it for the Input coverage containing arcs to determine breaklines.
  6. Under Output file, click the Save As... button to open the Save File dialog.
  7. Browse to a location to save the LandXML file, give the file a name, and click Save.
  8. Click OK to Export LandXML tool.
  9. If the tool finishes successfully, click OK.
    • If the tool gives an error message, review the message and address the errors before running the tool again.