public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfEvalGraph evalGraph = this.Object as DxfEvalGraph; if (evalGraph.Nodes == null) { return; } int num = Class740.smethod_12(evalGraph.Nodes); for (int index = 0; index < num; ++index) { evalGraph.Nodes[index].Expression = modelBuilder.method_4 <DxfObject>(this.ExpressionHandles[index]); DxfObject expression = evalGraph.Nodes[index].Expression; } foreach (DxfEvalGraph.GraphNode node in evalGraph.Nodes) { if (node.Expression == null) { Class740.smethod_14(evalGraph); break; } } }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfBlockStretchAction blockStretchAction = this.Object as DxfBlockStretchAction; if (this.ulong_3 != null && this.ulong_3.Length != 0) { for (int index = 0; index < this.ulong_3.Length; ++index) { blockStretchAction.StretchEntities[index].Entity = modelBuilder.method_4 <DxfHandledObject>(this.ulong_3[index]); } } else { blockStretchAction.StretchEntities = (DxfBlockPolarStretchAction.StretchEntity[])null; } if (blockStretchAction.StretchEntities == null) { return; } foreach (DxfBlockPolarStretchAction.StretchEntity stretchEntity in blockStretchAction.StretchEntities) { if (stretchEntity.Entity == null) { Class740.smethod_14(blockStretchAction.OwnerObjectSoftReference as DxfEvalGraph); break; } } }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfBlockAction dxfBlockAction = this.Object as DxfBlockAction; if (dxfBlockAction == null) { return; } if (this.ulong_2 != null && this.ulong_2.Length != 0) { dxfBlockAction.AttachedEntities = new DxfHandledObjectCollection <DxfHandledObject>(this.ulong_2.Length); for (int index = 0; index < this.ulong_2.Length; ++index) { dxfBlockAction.AttachedEntities.Add(modelBuilder.method_3(this.ulong_2[index])); } } else { dxfBlockAction.AttachedEntities = (DxfHandledObjectCollection <DxfHandledObject>)null; } if (dxfBlockAction.AttachedEntities == null) { return; } foreach (DxfHandledObject attachedEntity in dxfBlockAction.AttachedEntities) { if (attachedEntity == null) { Class740.smethod_14(dxfBlockAction.OwnerObjectSoftReference as DxfEvalGraph); break; } } }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); bool flag = false; DxfBlockPropertiesTable blockPropertiesTable = this.Object as DxfBlockPropertiesTable; if (this.Parameters != null && this.Parameters.Length != 0) { for (int index = 0; index < blockPropertiesTable.ColumnInformation.Length; ++index) { blockPropertiesTable.ColumnInformation[index].Parameter = modelBuilder.method_4 <DxfObject>(this.Parameters[index]); blockPropertiesTable.ColumnInformation[index].UnknownObject1 = modelBuilder.method_4 <DxfObject>(this.DxfObjects2[index]); int num1 = blockPropertiesTable.ColumnInformation[index].Parameter != null ? 1 : 0; long parameter = (long)this.Parameters[index]; if (num1 == 0) { int num2 = blockPropertiesTable.ColumnInformation[index].UnknownObject1 != null ? 1 : 0; long num3 = (long)this.DxfObjects2[index]; if (num2 == 0) { continue; } } flag = true; } } else { for (int index = 0; index < blockPropertiesTable.ColumnInformation.Length; ++index) { blockPropertiesTable.ColumnInformation[index].Parameter = (DxfObject)null; blockPropertiesTable.ColumnInformation[index].UnknownObject1 = (DxfObject)null; } } if (this.list_1 != null) { foreach (Class485 xrecordHandle in this.XRecordHandles) { xrecordHandle.ResolveReferences(modelBuilder); if (xrecordHandle.DataValueHandle == 0UL) { flag = true; } } } if (!flag) { return; } Class740.smethod_14(blockPropertiesTable.OwnerObjectSoftReference as DxfEvalGraph); }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfBlockUserParameter blockUserParameter = this.Object as DxfBlockUserParameter; if (blockUserParameter == null) { return; } blockUserParameter.Variable = (DxfHandledObject)null; if (this.ulong_2 == 0UL) { return; } blockUserParameter.Variable = modelBuilder.method_3(this.ulong_2); if (blockUserParameter.Variable != null) { return; } Class740.smethod_14(blockUserParameter.OwnerObjectSoftReference as DxfEvalGraph); }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfBlockVisibilityParameter visibilityParameter = this.Object as DxfBlockVisibilityParameter; if (visibilityParameter == null) { return; } if (this.ulong_2 != null && this.ulong_2.Length != 0) { visibilityParameter.HandleSet = new DxfHandledObjectCollection <DxfHandledObject>(this.ulong_2.Length); for (int index = 0; index < this.ulong_2.Length; ++index) { if (this.ulong_2[index] != 0UL) { DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_2[index]); if (dxfHandledObject == null) { throw new Exception("Cannot resolve handle."); } visibilityParameter.HandleSet.Add(dxfHandledObject); } } } else { visibilityParameter.HandleSet = (DxfHandledObjectCollection <DxfHandledObject>)null; } for (int index1 = 0; index1 < visibilityParameter.VisibilityStates.Length; ++index1) { if (this.ulong_3[index1] != null && this.ulong_3[index1].Length != 0) { int length = this.ulong_3[index1].Length; visibilityParameter.VisibilityStates[index1].SelectionSet1 = new DxfHandledObjectCollection <DxfHandledObject>(length); for (int index2 = 0; index2 < length; ++index2) { if (this.ulong_3[index1][index2] != 0UL) { DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_3[index1][index2]); if (dxfHandledObject == null) { throw new Exception("Cannot resolve handle."); } visibilityParameter.VisibilityStates[index1].SelectionSet1.Add(dxfHandledObject); } } } else { visibilityParameter.VisibilityStates[index1].SelectionSet1 = (DxfHandledObjectCollection <DxfHandledObject>)null; } } for (int index1 = 0; index1 < visibilityParameter.VisibilityStates.Length; ++index1) { if (this.ulong_4[index1] != null && this.ulong_4[index1].Length != 0) { int length = this.ulong_4[index1].Length; visibilityParameter.VisibilityStates[index1].SelectionSet2 = new DxfHandledObjectCollection <DxfHandledObject>(length); for (int index2 = 0; index2 < length; ++index2) { if (this.ulong_4[index1][index2] != 0UL) { DxfHandledObject dxfHandledObject = modelBuilder.method_3(this.ulong_4[index1][index2]); if (dxfHandledObject == null) { throw new Exception("Cannot resolve handle."); } visibilityParameter.VisibilityStates[index1].SelectionSet2.Add(dxfHandledObject); } } } else { visibilityParameter.VisibilityStates[index1].SelectionSet2 = (DxfHandledObjectCollection <DxfHandledObject>)null; } } if (visibilityParameter.HandleSet != null) { foreach (DxfHandledObject handle in visibilityParameter.HandleSet) { if (handle == null) { Class740.smethod_14(visibilityParameter.OwnerObjectSoftReference as DxfEvalGraph); return; } } } if (visibilityParameter.VisibilityStates == null || visibilityParameter.VisibilityStates == null) { return; } for (int index = 0; index < visibilityParameter.VisibilityStates.Length; ++index) { if (visibilityParameter.VisibilityStates[index].SelectionSet1 != null) { foreach (DxfHandledObject dxfHandledObject in visibilityParameter.VisibilityStates[index].SelectionSet1) { if (dxfHandledObject == null) { Class740.smethod_14(visibilityParameter.OwnerObjectSoftReference as DxfEvalGraph); return; } } } if (visibilityParameter.VisibilityStates[index].SelectionSet2 != null) { foreach (DxfHandledObject dxfHandledObject in visibilityParameter.VisibilityStates[index].SelectionSet2) { if (dxfHandledObject == null) { Class740.smethod_14(visibilityParameter.OwnerObjectSoftReference as DxfEvalGraph); return; } } } } }
public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfBlockPolarStretchAction polarStretchAction = this.Object as DxfBlockPolarStretchAction; if (polarStretchAction == null) { return; } if (this.ulong_3 != null && this.ulong_3.Length != 0) { polarStretchAction.RotateSelection = new DxfHandledObjectCollection <DxfHandledObject>(this.ulong_3.Length); for (int index = 0; index < this.ulong_3.Length; ++index) { polarStretchAction.RotateSelection.Add(modelBuilder.method_3(this.ulong_3[index])); if (polarStretchAction.RotateSelection[index] == null) { throw new Exception("Cannot resolve handle."); } } } else { polarStretchAction.RotateSelection = (DxfHandledObjectCollection <DxfHandledObject>)null; } if (this.ulong_4 != null && this.ulong_4.Length != 0) { for (int index = 0; index < this.ulong_4.Length; ++index) { polarStretchAction.StretchEntities[index].Entity = modelBuilder.method_3(this.ulong_4[index]); if (polarStretchAction.StretchEntities[index].Entity == null) { throw new Exception("Cannot resolve handle."); } } } else { polarStretchAction.StretchEntities = (DxfBlockPolarStretchAction.StretchEntity[])null; } if (polarStretchAction.RotateSelection != null) { foreach (DxfHandledObject dxfHandledObject in polarStretchAction.RotateSelection) { if (dxfHandledObject == null) { Class740.smethod_14(polarStretchAction.OwnerObjectSoftReference as DxfEvalGraph); return; } } } if (polarStretchAction.StretchEntities == null) { return; } foreach (DxfBlockPolarStretchAction.StretchEntity stretchEntity in polarStretchAction.StretchEntities) { if (stretchEntity.Entity == null) { Class740.smethod_14(polarStretchAction.OwnerObjectSoftReference as DxfEvalGraph); break; } } }