Inventor Customization

Reply
Member
Vaal_it
Posts: 4
Registered: ‎12-13-2012
Message 1 of 2 (168 Views)

Tessellate TextBox contents into Geometry.

168 Views, 1 Replies
12-13-2012 05:48 AM

I am using Inventor 2013 API for an application that imports Solid bodies and Sketches from Inventor parts.

Observed that when we import sketch entities, the Text object simply returns 4 lines representing its bounding box. What I want to do here, is to get the formated text as a collection of geometric entities. (lines, splines, arcs)

 

Is there any API available to "explode" text into entities, or may be a cleaner method that simply returns tesselation of formated text?

 

ADN Support Specialist
philippe.leefsma
Posts: 581
Registered: ‎06-02-2009
Message 2 of 2 (151 Views)

Re: Tessellate TextBox contents into Geometry.

01-07-2013 11:59 PM in reply to: Vaal_it

Hi Vaal_it,

 

Unfortunately there isn't an API that could directly tesselate a text entity.

 

You can access the text content and process it using your own logic or a third-party API able to tesselate text (AutoCAD can do that for example). Another suggestion would be to create a very thin extrusion based on a sketch containing exactly the text to tesselate and then you would be able to use CalculateFacets on the SurfaceBody generated by this extrusion.

 

I hope it helps.

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube