ExtrudeFeatureInput set order

ExtrudeFeatureInput set order

adesk-tom34
Contributor Contributor
389 Views
0 Replies
Message 1 of 1

ExtrudeFeatureInput set order

adesk-tom34
Contributor
Contributor

In a C++ script (using 2.0.8816), the call order of setting the ExtrudeFeatureInput properties seems critical!?.
Not working:
 extrudeInput->startExtent(...FromEntityStartDefinition ...)
 extrudeInput->setOneSideExtent(...);

 

it seems like calling setOneSideExtent subsequently is destroying my 'FromEntity' parameter as set with startExtent.

It only works reverse, in this order:
  extrudeInput->setOneSideExtent(...);
  extrudeInput->startExtent(...FromEntityStartDefinition ...);
when setting the startExtent last.

 

I don't see any hints in documentation about this behavior, it only tells about the 'default' (implicit?) startExtent as being the profile-plane.

I used the problematic order because as seen in the app GUI Extrude feature box, the 'Start' field is above the 'Extent' field, which was more intuitive to me.


BTW, some files  (ExtrudeFeatureInput.h ; ExtrudeFeature.h ; fusion.py) in the API folder do mention a
  ProfilePlaneWithOffsetStartDefinition 
in comments, which does not exist (anymore)? please cleanup.

Thanks.

390 Views
0 Replies
Replies (0)