ArcFM Desktop Developer Guide
CreateDesignerFeature Method


feature to be Facility Sketched
work function to set the feature to
CreateDesignerFeature - this overload takes a single feature and does a Facility Sketch, setting the work function to that passed by the caller. This method makes use of the FeatureConverter to copy the feature into the design. Assumption: that the editor is editing a workspace and that workspace is the workspace of an open design. The FeatureConverter depends on this. Exceptions: NoConversionMappingException - The FeatureConverter will throw this if the specified feature's class has no mapping in the MM_EXPRESS_OBJECTS table.
Syntax
'Declaration
 
Public Function CreateDesignerFeature( _
   ByVal feature As IFeature, _
   ByVal workFunction As mmd8WorkFunction _
) As IFeature
'Usage
 
Dim instance As FacilitySketcher
Dim feature As IFeature
Dim workFunction As mmd8WorkFunction
Dim value As IFeature
 
value = instance.CreateDesignerFeature(feature, workFunction)
public IFeature CreateDesignerFeature( 
   IFeature feature,
   mmd8WorkFunction workFunction
)

Parameters

feature
feature to be Facility Sketched
workFunction
work function to set the feature to
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

FacilitySketcher Class
FacilitySketcher Members

 

 


Send Comment