Showing results for

Showing results for

** Community Tip** - You can change your system assigned username to something more personal in your community settings.
X

- Community
- Creo+ and Creo Parametric
- System Administration, Installation, and Licensing topics
- MathCad xyz points to Creo Parametric

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jan 05, 2022
08:19 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 05, 2022
08:19 AM

MathCad xyz points to Creo Parametric

I am using Creo Parametric 7.0 7.0.3.0

Is there a way to push a matrix (3x51) of xyz points from MathCad to Creo Parametric?

11 REPLIES 11

Jan 05, 2022
09:32 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 05, 2022
09:32 AM

Hi,

**1**. A similar question was asked earlier:

- "
**Data Points from Mathcad to Creo**": https://community.ptc.com/t5/3D-Part-Assembly-Design/Data-Points-from-Mathcad-to-Creo/td-p/644521 - "
**How to make curve with equation**": https://community.ptc.com/t5/PTC-Mathcad/how-to-make-curve-with-equation/m-p/408640/highlight/true#M160247

**2**. From "**Help Center**" - "**About the PTC Mathcad Prime Analysis and PTC Mathcad Prime Analysis Feature**": https://support.ptc.com/help/creo/creo_pma/r7.0/usascii/index.html#page/model_analysis/bemod/About_Mathcad_Analysis_Feature.html#wwconnect_header

Jan 05, 2022
01:35 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 05, 2022
01:35 PM

This is likely not the best place on the forums to get answers to this kind of question.

If you can't find a direct way to get the points from MathCAD to Creo, you could go about it in a more indirect way:

(1) Output the points to a file from MathCAD (Excel? Text file?) I don't know what your options are here since we don't use MathCAD.

(2) Use the X, Y, Z points to make a .ibl file. It's a relatively simple file format. Here's a sample:

```
open pointwise
begin section !1
begin curve
4.152635490642E+02 -4.494745914095 44.8
4.150263689969E+02 -4.475489942293 44.8
4.147892274691E+02 -4.455765001303 44.8
4.145521254190E+02 -4.435571073514 44.8
```

(3) Import the .ibl file via Model -> Get Data -> Import and changing the Type field to "Ibl file (*.ibl)

It's not elegant, but it'll get the job done.

Jan 06, 2022
01:32 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
01:32 AM

Hi,

1.]

In Creo create datum point feature using **Offset Coordinate System** option and **Save** datum point list into **pts** file. You will get something like this ...

```
!
! DATUM POINT ARRAY DATA FILE
!
! Comment lines should begin with an exclamation mark (!).
! You may have as many comment lines as you wish.
! There must be at least one space between values.
!
! Enter values with respect to datum arrays' coordinate system:
!
!CARTESIAN coordinates:
! X Y Z
!
0.00 0.00 0.00
1.00 1.00 1.00
```

2.]

Create **pts** file using your x,y,z values and import it into datum point feature.

Martin Hanák

Jan 06, 2022
01:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
01:42 AM

This is just a test of sending email notifications.

Jan 06, 2022
03:30 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
03:30 AM

This is just a 2-nd test of sending email notifications.

Martin Hanák

Jan 06, 2022
08:27 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
08:27 AM

Hi Martin,

I have a design that is governed by 51 points. The xyz data is all in a plane, 2-d data. These 51 points can be used as a datum curve or a spline within a sketch. I'm trying to pass point data between Mathcad and Creo parametric in order to manipulate the data in Mathcad and pass it back to Creo. Is there a way to do this?

Bernie

Jan 06, 2022
03:52 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
03:52 PM

@brice-2 wrote:

Hi Martin,

I have a design that is governed by 51 points. The xyz data is all in a plane, 2-d data. These 51 points can be used as a datum curve or a spline within a sketch. I'm trying to pass point data between Mathcad and Creo parametric in order to manipulate the data in Mathcad and pass it back to Creo. Is there a way to do this?

Bernie

Hi,

I am little bit confused with your question.

**KenFarley** suggested you to create **ibl **file and import it into Creo model.

Please read https://community.ptc.com/sejnu66972/attachments/sejnu66972/PTCMathcad/175875/1/IBL%20examples.pdf document.

I suggested you to create **pts** file and import it into **datum point Offset Coordinate System** feature**. **

The resulting points can be used as a references for **Sketch** feature. You can use them to guide the spline curve.

I think Ken's solution is better, because it enables to update curve easily.

What exactly do you not understand?

Martin Hanák

Jan 06, 2022
03:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 06, 2022
03:58 PM

This is just a 3-rd test of sending email notifications.

Jan 07, 2022
01:51 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 07, 2022
01:51 PM

This is just a 4-th test of sending email notifications.

Jan 07, 2022
02:07 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 07, 2022
02:07 PM

This is just a 5-th test of sending email notifications.

Jan 13, 2022
02:32 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 13, 2022
02:32 PM

I think the trouble with what either of us were suggesting is that it is not an "automatic" transfer of data. If I were iterating on something, doing many changes and "see how that works" trials, it would get really repetitive going back and forth. Change curve, generate points, put into .ibl file, read into Creo, check it, change curve again, etc.

The only other suggestion I might have is if the equations being used in MathCad are not very complicated, and if the number of points being used is always going to be the same, maybe calculate the points in Creo using relations? It would be a bit of work and a lot of typing to set up, but you'd then be able to change a value, see the results, etc.

Announcements

Top Tags