Tagged: 2D, spaceclaim
-
-
February 10, 2022 at 3:18 pm
Karthi111
SubscriberFebruary 15, 2022 at 7:07 amNaresh Patre
Ansys Employee
I think this could be possible through Scripting. You will have to loop over each point to access its coordinates and then write them out in an excel file.
February 15, 2022 at 2:34 pmRahul Kumbhar
Ansys EmployeeYou can try save file as ANF file and open it in text editor. I will give you information points with its coordinates
March 2, 2022 at 3:26 pmAndrew Stankovich
Ansys EmployeeIf you want to try using scripting as a solution something like this might suit your needs.
#Prompt the user to define a save file
outputDialog=SaveFileDialog
outputDialog.Filter=”Datum Point File (*.csv)|*.csv”
outputDialog.Show
outputfile=outputDialog.FileName#Get all the datum points in the current file
allDatumPoints=GetRootPart().GetDescendants[IDatumPoint]()
#Loop through all the points and save the x,y,z coordinates to file.
with open(outputfile,”w+”) as outFile:
for dPoint in list(allDatumPoints):
X=dPoint.Position.X
Y=dPoint.Position.Y
Z=dPoint.Position.Z
outFile.write(str(X)+”,”+str(Y)+”,”+str(Z)+”\n”)
This will write the files to a csv file that can be opened in excel.Viewing 3 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceEarth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- How to work with STL file?
- Using Symmetry in DesignModeler and Expanding the Results
- Rotate tool in ANSYS Design Modeler
- drawing a geometry by importing a table of points
- section plane
- material properties
- ANSYS FLUENT – Operation would result in non manifold bodies
- Geometry scaling
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
- Convert Surface body to solid
Top Contributors-
2524
-
2066
-
1279
-
1096
-
459
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-