C++ API

C++ API

Anonymous
Not applicable
939 Views
3 Replies
Message 1 of 4

C++ API

Anonymous
Not applicable
Hello,

I have been working with ObjectARX and developed several applications.
I know that Inventor C++ customization is made through a COM interface and
due that it is limited.

I would like to know if Inventor allows me to create custom entities like
ObjectARX does on AutoCAD. Can I create a new kind of entity like a custom
line?

Further, inside AutoCAD we can create non graphical data to store common
properties and other information. Can I create a new object like a
temperature and link it with parts or custom entities?

Regards,
Fernando.
0 Likes
940 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Fernando, the Inventor API does not support the ability to create custom
entities like ObjectARX. However, there are some unique capabilities in
Inventor that allow you to get some of the same end results in many cases.
For example, Inventor supports something called "client graphics" that
allows you draw display graphics within Inventor. These are not intelligent
in that they don't represent anything to Inventor but are used by external
developers to display a representation of their objects within Inventor.

For non-graphical data there are several approaches possible within
Inventor, depending on what you need to do. An Inventor document is a
standard Microsoft structured storage document and supports the ability to
have property sets and properties. In addition, the API supports the
ability for you to create your own storages and streams within the Inventor
document. Finally, Inventor supports something called "attributes" that
allows you to attach non-graphic information to objects. (These are similar
to xdata in AutoCAD.)

-Brian

"Fernando Poinho Malard" wrote in message
news:E20602C590E678E781311DF795938458@in.WebX.maYIadrTaRb...
> Hello,
>
> I have been working with ObjectARX and developed several applications.
> I know that Inventor C++ customization is made through a COM interface and
> due that it is limited.
>
> I would like to know if Inventor allows me to create custom entities like
> ObjectARX does on AutoCAD. Can I create a new kind of entity like a custom
> line?
>
> Further, inside AutoCAD we can create non graphical data to store common
> properties and other information. Can I create a new object like a
> temperature and link it with parts or custom entities?
>
> Regards,
> Fernando.
>
>
>
>
0 Likes
Message 3 of 4

Anonymous
Not applicable
Brian,

Thank you for detailed info.
Is there any sample, on ADN or pointA, applying features you have described
here?

Regards,
Fernando.

"Brian Ekins (Autodesk)" wrote in message
news:4E32B8F998212843B27911B187113106@in.WebX.maYIadrTaRb...
> Fernando, the Inventor API does not support the ability to create custom
> entities like ObjectARX. However, there are some unique capabilities in
> Inventor that allow you to get some of the same end results in many cases.
> For example, Inventor supports something called "client graphics" that
> allows you draw display graphics within Inventor. These are not
intelligent
> in that they don't represent anything to Inventor but are used by external
> developers to display a representation of their objects within Inventor.
>
> For non-graphical data there are several approaches possible within
> Inventor, depending on what you need to do. An Inventor document is a
> standard Microsoft structured storage document and supports the ability to
> have property sets and properties. In addition, the API supports the
> ability for you to create your own storages and streams within the
Inventor
> document. Finally, Inventor supports something called "attributes" that
> allows you to attach non-graphic information to objects. (These are
similar
> to xdata in AutoCAD.)
>
> -Brian
>
> "Fernando Poinho Malard" wrote in message
> news:E20602C590E678E781311DF795938458@in.WebX.maYIadrTaRb...
> > Hello,
> >
> > I have been working with ObjectARX and developed several applications.
> > I know that Inventor C++ customization is made through a COM interface
and
> > due that it is limited.
> >
> > I would like to know if Inventor allows me to create custom entities
like
> > ObjectARX does on AutoCAD. Can I create a new kind of entity like a
custom
> > line?
> >
> > Further, inside AutoCAD we can create non graphical data to store common
> > properties and other information. Can I create a new object like a
> > temperature and link it with parts or custom entities?
> >
> > Regards,
> > Fernando.
> >
> >
> >
> >
>
>
0 Likes
Message 4 of 4

Anonymous
Not applicable
A few of the samples delivered with Inventor demonstrate the client graphics
capabilities. There's one C++ sample that specifically focuses on this
functionality. There are a few samples that use attributes. I'm not sure
if there are samples showing the use of streams and storages within the
document. I suspect there might be something on the ADN website, but I
didn't do a search so I can't say for sure.

-Brian

"Fernando Poinho Malard" wrote in message
news:0AAB929F99B864BF7786DB14F7F36318@in.WebX.maYIadrTaRb...
> Brian,
>
> Thank you for detailed info.
> Is there any sample, on ADN or pointA, applying features you have
described
> here?
>
> Regards,
> Fernando.
>
> "Brian Ekins (Autodesk)" wrote in message
> news:4E32B8F998212843B27911B187113106@in.WebX.maYIadrTaRb...
> > Fernando, the Inventor API does not support the ability to create custom
> > entities like ObjectARX. However, there are some unique capabilities in
> > Inventor that allow you to get some of the same end results in many
cases.
> > For example, Inventor supports something called "client graphics" that
> > allows you draw display graphics within Inventor. These are not
> intelligent
> > in that they don't represent anything to Inventor but are used by
external
> > developers to display a representation of their objects within Inventor.
> >
> > For non-graphical data there are several approaches possible within
> > Inventor, depending on what you need to do. An Inventor document is a
> > standard Microsoft structured storage document and supports the ability
to
> > have property sets and properties. In addition, the API supports the
> > ability for you to create your own storages and streams within the
> Inventor
> > document. Finally, Inventor supports something called "attributes" that
> > allows you to attach non-graphic information to objects. (These are
> similar
> > to xdata in AutoCAD.)
> >
> > -Brian
> >
> > "Fernando Poinho Malard" wrote in message
> > news:E20602C590E678E781311DF795938458@in.WebX.maYIadrTaRb...
> > > Hello,
> > >
> > > I have been working with ObjectARX and developed several applications.
> > > I know that Inventor C++ customization is made through a COM interface
> and
> > > due that it is limited.
> > >
> > > I would like to know if Inventor allows me to create custom entities
> like
> > > ObjectARX does on AutoCAD. Can I create a new kind of entity like a
> custom
> > > line?
> > >
> > > Further, inside AutoCAD we can create non graphical data to store
common
> > > properties and other information. Can I create a new object like a
> > > temperature and link it with parts or custom entities?
> > >
> > > Regards,
> > > Fernando.
> > >
> > >
> > >
> > >
> >
> >
>
>
0 Likes