public void Add(string name, object value) { var tvName = TypedValueExt.GetTvExtData(name); var tvValue = TypedValueExt.GetTvExtData(value); Values.Add(tvName); Values.Add(tvValue); }
public void Save([NotNull] string rec, object value) { var values = new List <TypedValue> { TypedValueExt.GetTvExtData(value) }; Save(values, rec); }
public List <TypedValue> GetDataValues(Document doc) { return(new List <TypedValue> { TypedValueExt.GetTvExtData("NumberingOrder"), TypedValueExt.GetTvExtData(NumberingOrder), TypedValueExt.GetTvExtData("PileStartNum"), TypedValueExt.GetTvExtData(PileStartNum), }); }
public List <TypedValue> GetDataValues(Document doc) { return(new List <TypedValue> { TypedValueExt.GetTvExtData("AbsoluteZero"), TypedValueExt.GetTvExtData(AbsoluteZero), TypedValueExt.GetTvExtData("DimPileBeatToCut"), TypedValueExt.GetTvExtData(DimPileBeatToCut), TypedValueExt.GetTvExtData("DimPileCutToRostwerk"), TypedValueExt.GetTvExtData(DimPileCutToRostwerk), //TypedValueExt.GetTvExtData(PileRatioLmin), }); }
private DicED GetExtDicSelectRegion() { var dicSelReg = new DicED(); var selRegTVs = new List <TypedValue> { // MinPt TypedValueExt.GetTvExtData(SelectRegion.MinPoint.X), TypedValueExt.GetTvExtData(SelectRegion.MinPoint.Y), // MaxPt TypedValueExt.GetTvExtData(SelectRegion.MaxPoint.X), TypedValueExt.GetTvExtData(SelectRegion.MaxPoint.Y), }; dicSelReg.AddRec("SelRegRec", selRegTVs); return(dicSelReg); }