Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
Creating a Field

If the set of field classes supported by Inventor does not suit your needs when defining a node or engine class, you may have to create your own field subclass. This chapter describes creating single-value and multiple-value fields. If you create a new field and you need automatic type conversion so that it can be connected to a field of a different type, you can build an engine that is a subclass of SoFieldConverter. Creating new field converters is explained here Creating an Engine.

The chapter examples show creating two field classes:

  • A single-value field called SFDouble
  • A multiple-value field called MFDouble