Book a Demo

Author Topic: C++ external types?  (Read 2521 times)

medved

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
C++ external types?
« on: March 10, 2011, 01:23:59 am »
What do you do when you've got types defined in a library you are using that you'd like to model, but have no code generated for those types?

For example, I'm using a vendor library that defines the type PMDAxisHandle.  I'd like to have a "place holder" in EA for this type so that it shows up in the model, but I never want to generate any code for this since it already exists in a header file from the vendor.

M

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: C++ external types?
« Reply #1 on: March 10, 2011, 08:18:57 am »
You have a header, so I would import the header into a part of a model that is separate from your code so that it's clear you don't need to generate it.