public Structural1DInfluenceEffect(StructuralInfluenceEffectType effectType, string elementRef, double position, double factor, StructuralVectorBoolSix directions, string applicationId = null, Dictionary <string, object> properties = null) { if (properties != null) { this.Properties = properties; } this.ApplicationId = applicationId; this.EffectType = effectType; this.ElementRef = elementRef; this.Position = position; this.Factor = factor; this.Directions = directions; GenerateHash(); }
public StructuralNodalInfluenceEffect(StructuralInfluenceEffectType effectType, string nodeRef, double factor, StructuralAxis axis, StructuralVectorBoolSix directions, string applicationId = null, Dictionary <string, object> properties = null) { if (properties != null) { this.Properties = properties; } this.ApplicationId = applicationId; this.EffectType = effectType; this.NodeRef = nodeRef; this.Factor = factor; this.Axis = axis; this.Directions = directions; GenerateHash(); }