Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Siemens PLM Community
- NX Customization and Programming
- NX Programming & Customization Forum
- About DisplayContext.DisplayCircle(point, matrix, ...

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

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-05-2017 11:49 PM

int this function **di****splayEvent.DisplayContext.DisplayCircle(point,**** matrix, rad, true);**

what is exact meaning of point,matrix?

in Our case plane pararllel to XY plane in wcs,Circle is correct.

but other case i.e plane parallel to ZX plane circle is placed at wrong position.

you can refer attached snapshots.png.

please explain in details

5 REPLIES

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-06-2017 08:44 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-06-2017 10:34 AM

Public Sub **DisplayCircle**(*center* As ** NXOpen**.

Member of ** NXOpen**.

Summary:

Displays a circle for a NXOpen.UserDefinedObjects.UserDefinedObject.

Parameters:

*center*: Center of the arc (absolute coordinates transformed by the orientation matrix)

*original*: Orientation matrix for the arc.

*radius*: Radius of the arc. Must be greater than zero.

*filled*: True if the interior of the circle is solid filled, otherwise the interior is not filled

Remarks:

The circle will be created in a plane which is normal to the Z axis of the orientation matrix. (matrix[0-2] is the X axis of the orientation matrix, matrix[3-5] is the Y axis of the orientation matrix, and matrix[6-8] is the Z axis of the orientation matrix.)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-09-2017 02:09 AM

what is difference between WCS and AbWS

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-09-2017 07:25 AM

I have uploaded file “SimpleUdo.zip”. It contains source code which can be debugged. You can run its dll through File->Execute->NXopen->simpleUDO.dll

After clicking simpleUDO.dll, it will ask to select screen position after selecting screen position udo will be created in point & Circle form.But Circle is displayed at another location.Please let me know if I am doing something wrong in displaying circle.

Please let us know if more information is required.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-09-2017 01:31 PM

The code is executing exactly as documented. Please pay close attention to the documentation for the Center parameter:

*center*: Center of the arc (absolute coordinates __transformed by the orientation matrix)__

** **

I'm not sure why the method was designed this way, but the center of the circle will not be coincident with the coordinates of the centerpoint if the orientation matrix is not aligned with the part csys.

Follow Siemens PLM Software

© 2017 Siemens Product Lifecycle Management Software Inc