Very old component from previous VC product family.
I recommend you do the following:
Clear 3D world.
Load the wrapper component
Notice the error in the Output panel. Fix this by adding AmountOfFeet property in component of type integer and set the value to 2 or 4, for example, so the wrapper is not suspended in mid error.
Save with new VCID so it is saved with VCMX file format.
After doing that, the script in the wrapper is expecting the ComponentSignal to have a value, which it assigns to pallet variable. The pallet variable is then added as argument for calling createFoilSegment().
The createFoilSegment expects the pallet to be a component and that it is a container type behavior, e.g. Component Container behavior. If the pallet is None, you will get an error. If there is no container type behavior, you will get an error.
Long story short, it is an old component, so you can try to fix the script or update the component. No guarantee a VCM file will work properly in later versions of software. And you might get error that foil variable is none.
Consider getting new version of wrapper component or make a new one.
Thank you very much for you cooperation and detailed explanation about the approach.
I managed to make the wrapper work and it works flawlessly, except that I am not able to change the Foil Angle and Foil Length. When I try to change the number in either of the properties it simply shows the default value of the property.
The procedure for fixing was the following - I added a NumberOfFeet property with number of 2 and saved the file as VCMX and the mid error disappeared.
Then I opened the pallet component that I have in the Component Creator object and I added a Component Container at the Base of the pallet as well as a Component Signal which I connected to the Component Container.
In the end the wrapper started to behave as expected.
Check the ConfigScript in the component. Whenever the simulation or scene is updated, the FoilAngle and FoilLength property values are set by the script. So when you type in a value for FoilAngle, that change in value, triggers a simulation update, e.g. OnSimulationUpdate.